Commit Graph

7 Commits

Author SHA1 Message Date
Mitchell McCaffrey
f1dce05830 Fix grid not showing in editor, and width resize 2021-02-08 18:51:44 +11:00
Mitchell McCaffrey
291fd1512c Moved to domTarget for useGesture to fix pinch zoom error on Mac 2021-02-07 20:44:30 +11:00
Mitchell McCaffrey
76533852cd Added a grid snapping sensitivity accessibility option 2021-02-07 16:42:29 +11:00
Mitchell McCaffrey
502f872fbf Add hex support to useGridSnapping 2021-02-07 11:16:36 +11:00
Mitchell McCaffrey
fbea8bd7a7 Move grid snapping to hook and added math for hex snapping 2021-02-06 19:29:24 +11:00
Mitchell McCaffrey
f20173de35 Added shared grid context and moved away from calling useContext directly 2021-02-06 13:32:38 +11:00
Mitchell McCaffrey
de84e77e58 Add basic hex functionality and clean up hooks and Vector2 class 2021-02-04 15:06:34 +11:00