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(
"item-selected-move"
) as HTMLElement;
elemntSelected.setAttribute(
"style",
"top:" + y + "px !important; left:" + x + "px !important"
);
elemntSelected.style.top = `${y}px !important`;
elemntSelected.style.left = `${x}px !important`;
return;
}
}