clippy move

This commit is contained in:
mark committed 2024-03-04 11:20:10 +01:00
1 parent 1fc253421b
commit ac8badc60e
4 files changed
+25 -14

No files matched your search

+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")
}