clippy move

This commit is contained in:
2024-03-04 11:20:10 +01:00
parent 1fc253421b
commit ac8badc60e
4 changed files with 25 additions and 14 deletions
+2
View File
@@ -34,6 +34,8 @@
position.y = stored_position.y
document.getElementById("main-window").style.transform =
`translate(${position.x}px, ${position.y}px)`
document.getElementById("clippy").style.transform =
`translate(${position.x}px, ${position.y}px)`
} else {
localStorage.removeItem("position")
}