13175 fixed item move with grid

This commit is contained in:
Daniel Maya 2024-03-25 15:28:02 +01:00
parent ede285557f
commit 42281e3161
3 changed files with 4 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -334,10 +334,8 @@ export default class VisualConsole {
let elemntSelected = document.getElementById( let elemntSelected = document.getElementById(
"item-selected-move" "item-selected-move"
) as HTMLElement; ) as HTMLElement;
elemntSelected.setAttribute( elemntSelected.style.top = `${y}px !important`;
"style", elemntSelected.style.left = `${x}px !important`;
"top:" + y + "px !important; left:" + x + "px !important"
);
return; return;
} }
} }