:desktop-card {:x N :y N} is written when the card is dropped (and kept on later saves),
and restored at startup; the existing clamp keeps it on screen if the resolution changed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
61796b9f69
commit
69a163bc08
3 files changed
+74
-4
No files matched your search
@@ -617,6 +617,7 @@ fn DesktopShell::reorder_dragged(self : DesktopShell, x : Int) -> Unit {
|
||||
pub fn DesktopShell::pointer_up(self : DesktopShell) -> Bool {
|
||||
if self.desk_drag {
|
||||
self.desk_drag = false
|
||||
self.save_state() // remember where the card was dropped
|
||||
return true
|
||||
}
|
||||
let slot = self.drag_slot
|
||||
|
||||
Reference in new issue
Block a user