Watch
1
0
Fork
You've already forked souveraine
0

move is a mode: grab, drag, done

This commit is contained in:
Fimeg 2026-08-05 15:35:40 -04:00
commit c3f998f17a
3 changed files with 112 additions and 15 deletions

View file

@ -121,6 +121,18 @@ Singleton {
});
}
// Hand a window to the finger. While grabbed, one-finger drags move it;
// `drop` ends the mode. This is Move as a *mode* rather than a computed
// geometry the three-finger carry that used to do it lost a race with
// the three-finger tap every time, so it is entered on purpose now.
function grab(id) {
root.scene("grab", { id: id });
}
function drop() {
root.scene("drop", {});
}
function raise(id) {
root.scene("raise", { id: id });
}