fix: Refactor useMode hook to fix line positioning bug
This commit is contained in:
parent
41b8dea43a
commit
a3cd1606db
@ -586,7 +586,7 @@ export function useMode() {
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
newOuterlines.push({
|
newOuterlines.push({
|
||||||
x1: historyLines.current[i].x1 + 50,
|
x1: historyLines.current[i].x1 - 50,
|
||||||
y1: historyLines.current[i].y1 - 50,
|
y1: historyLines.current[i].y1 - 50,
|
||||||
x2: historyLines.current[i].x2 + 50,
|
x2: historyLines.current[i].x2 + 50,
|
||||||
y2: historyLines.current[i].y2 - 50,
|
y2: historyLines.current[i].y2 - 50,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user