Glint: Basic Snap Align (2014) @bushidoapp
Glint: Basic Snap Align (2014)  @bushidoapp
Uploaded February 2018 | Updated November 2026, 2 days ago
Found an interesting bug with the snap-to code, so I thought I’d post a video showing it. After an element has ‘snapped’ into place, the way I check if it’s 'unsnapped’ is to check the current mouse position with the mouse position from the previous app state, and if it’s greater than some threshold, break the snap. The (obvious, now) problem is that if the mouse moves slowly, then the difference between any two successive frames is never enough to break the snap. I’ll rework it a bit and post a proper video of it next.
Glint: Basic Snap Align (2014)Sketch/Steel prototype experiment 1OneGraph Challenge: GitHub Starred Repository RSS feed (2x!) in under 10 minutesGlint: Image Transforms (2014)Friday Tutorial 2: Improving ReasonReact binding ergonomics and safety with a quick trickGlint: WebGL, la vague de Sacha (2014)Hello, OneGraph!Graphitree - Tree explorer for GraphiQLNetlify Graph Byte: CLI operation sharing (Preview)Journaliza Preview #1Glint: Duplicate (2014)Notifications for ClojureScript compiler warnings
Sean Grove |

Glint: Basic Snap Align (2014)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER