Some tidying up and Snappoints#1
I tidied up how the drag and drop is handled, moving it to a singleton class, rather than trying to work it out in each sheet individually, this enabled me to fix a problem where things went wrong if you moved the mouse across a sheet while dragging another one. Basically it is necessary to lock the focus sheet to the one being dragged, for as long as the drag goes on, but then correctly pick up the change in focus when the drag is over...
And I also added snap-points. Nothing is snapping to them yet, but I worked out where they needed to be, alongside the text that needs snapping to, and I have (temporary) code to display them as little red and green arrows. There's two kinds of snap-point, because left text only snaps onto right text, and vice-versa...
Poetry Slice (working title)
Explore poetry space to find hidden meanings
Status | In development |
Category | Other |
Author | igbadcoe@gmail.com |
Tags | draganddrop, paper, poem, poetry, text |
More posts
- Proof Of Concept/What is this all about?/(Early) call for participationMar 31, 2025
- First technology demoMar 25, 2025
- Preliminary Snapping when Dragging and Dropping - III - Things I might do differ...Mar 23, 2025
- Preliminary Snapping when Dragging and Dropping - II - The Search for a PivotMar 23, 2025
- Preliminary Snapping when Dragging and DroppingMar 23, 2025
- More snap-points debug display...Mar 19, 2025
- Getting started with a new idea...Mar 15, 2025
Leave a comment
Log in with itch.io to leave a comment.