Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MankaiHuang/screen-visualization
/ closeDraw
Function
closeDraw
src/components/Workspace/SelectMap/index.tsx:141–144 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
139
closeMap()
140
}
141
function closeDraw() {
142
// 关闭绘制
143
mouseTool.close(true)
144
}
145
function onClickRect(type: string) {
146
setDrawType(type)
147
switch (type) {
Callers
1
onClickRect
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected