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 participation3 days ago
- First technology demo8 days ago
- Preliminary Snapping when Dragging and Dropping - III - Things I might do differ...10 days ago
- Preliminary Snapping when Dragging and Dropping - II - The Search for a Pivot10 days ago
- Preliminary Snapping when Dragging and Dropping10 days ago
- More snap-points debug display...14 days ago
- Getting started with a new idea...18 days ago
Leave a comment
Log in with itch.io to leave a comment.