원복
This commit is contained in:
parent
1b080eba55
commit
060c8ce5b4
@ -333,9 +333,6 @@ export function useMode() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const handleKeyDown = (e) => {
|
const handleKeyDown = (e) => {
|
||||||
if (mode !== Mode.EDIT) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
switch (e.key) {
|
switch (e.key) {
|
||||||
case 'ArrowDown': {
|
case 'ArrowDown': {
|
||||||
if (!keyValid()) {
|
if (!keyValid()) {
|
||||||
@ -537,8 +534,7 @@ export function useMode() {
|
|||||||
if (historyPoints.current.length >= 4) {
|
if (historyPoints.current.length >= 4) {
|
||||||
const wall = drawWallPolygon()
|
const wall = drawWallPolygon()
|
||||||
handleOuterlinesTest2(wall)
|
handleOuterlinesTest2(wall)
|
||||||
/*setWall(wall)
|
setTemplateType(1)
|
||||||
roof.drawHelpLine()*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user