Commit Graph

572 Commits

Author SHA1 Message Date
Mitchell McCaffrey
93f45c738f Changed notes to left aligned and accept more text per line 2021-02-13 10:45:28 +11:00
Mitchell McCaffrey
c6d87baf99 Fix triangle drawing with hexes 2021-02-13 10:00:30 +11:00
Mitchell McCaffrey
85270859bb Move to new fog snapping with guides and vertex snapping 2021-02-11 19:57:34 +11:00
Mitchell McCaffrey
547a214149 Added distance calculation support for hex 2021-02-11 10:06:06 +11:00
Mitchell McCaffrey
96298e8943 Move measurement options to map settings 2021-02-10 19:59:15 +11:00
Mitchell McCaffrey
19def8cdb0 Changed fog shadow color to match shape color 2021-02-09 17:56:49 +11:00
Mitchell McCaffrey
2d5589a02e Changed grid overlay to use repeating images instead of shapes 2021-02-09 16:58:14 +11:00
Mitchell McCaffrey
663e1af4d9 Added max resolution to grid cache 2021-02-09 14:43:32 +11:00
Mitchell McCaffrey
846afe5495 Moved all grid snapping to useGridSnapping hook 2021-02-09 14:13:08 +11:00
Mitchell McCaffrey
cdb91eed60 Change editable fog outline to light grey 2021-02-09 08:00:24 +11:00
Mitchell McCaffrey
f1dce05830 Fix grid not showing in editor, and width resize 2021-02-08 18:51:44 +11:00
Mitchell McCaffrey
d0377596d2 Added grid render caching 2021-02-08 18:25:25 +11:00
Mitchell McCaffrey
75a7fb401b Remove unused import 2021-02-08 17:26:56 +11:00
Mitchell McCaffrey
e36058263c Added more loading spinners to map and token operations 2021-02-08 17:06:54 +11:00
Mitchell McCaffrey
24e64f9d32 Update maps and tokens to have thumbnails and removed loading of all files on load 2021-02-08 16:53:56 +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
9892227caf Added fix for grid nudge causing scroll 2021-02-07 17:40:22 +11:00
Mitchell McCaffrey
9f96145410 Updated rotation to have 15 degree increments 2021-02-07 17:25:29 +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
8991be923e Added undershoot grid cells to hex grid 2021-02-05 17:42:14 +11:00
Mitchell McCaffrey
9ddb9a6bac Add hex support for map size changes 2021-02-05 16:57:10 +11:00
Mitchell McCaffrey
5dfddd6af9 Add hex support for default inset function 2021-02-05 11:00:31 +11:00
Mitchell McCaffrey
de84e77e58 Add basic hex functionality and clean up hooks and Vector2 class 2021-02-04 15:06:34 +11:00
Mitchell McCaffrey
fa1f6fe18f Converted draw actions storage to collapsed representation
Moved to command pattern for action application
2021-02-04 09:11:27 +11:00
Mitchell McCaffrey
d8f5ccb6a8 Fix token label not resizing on players screens 2021-01-28 17:10:26 +11:00
Mitchell McCaffrey
ff8d7c1547 Moved notes to be above drawings 2021-01-28 16:26:28 +11:00
Mitchell McCaffrey
2108d32501 Added colours and gradients to pointers 2021-01-28 15:12:30 +11:00
Mitchell McCaffrey
72ecd002dd Added automatic token label fitting 2021-01-27 17:00:03 +11:00
Mitchell McCaffrey
83a987d9df Add initial import export functionality 2021-01-26 21:49:44 +11:00
Mitchell McCaffrey
feb803ebef Added note text only mode 2021-01-25 10:03:20 +11:00
Mitchell McCaffrey
bda0aa9ebe Merge branch 'master' into release/v1.7.1 2021-01-25 08:19:25 +11:00
Mitchell McCaffrey
f05fe32e13 Merge branch 'master' into release/v1.7.0 2021-01-23 15:50:05 +11:00
Mitchell McCaffrey
b9d8a007e5 Optimized fog shapes to only include needed data 2021-01-23 15:44:25 +11:00
Mitchell McCaffrey
5219815a1f Separated fog snapping and drawing snapping, added square edge snapping 2021-01-22 15:00:31 +11:00
Mitchell McCaffrey
34fcff9052 Added fallback for token statuses empty values and duplicates 2021-01-21 15:55:47 +11:00
Mitchell McCaffrey
2f9a55f176 Removed overflow from token and note menu 2021-01-21 14:47:49 +11:00
Mitchell McCaffrey
82e8eb014e Update TokenStatus.js 2021-01-21 13:58:37 +11:00
Mitchell McCaffrey
af3839c9ff Added null check to token status 2021-01-21 07:14:32 +11:00
Mitchell McCaffrey
c61ff28942 Fix image drop url parameters 2021-01-19 18:40:22 +11:00
Mitchell McCaffrey
a892c09fd1 Reduced note menu back to 1 row 2021-01-14 15:40:29 +11:00
Mitchell McCaffrey
e91cdfcac2 Fix note text fitting for multiline support 2021-01-14 15:14:07 +11:00
Mitchell McCaffrey
7281e9b9ba Change note text input to allow for multiline editing 2021-01-14 12:36:48 +11:00
Mitchell McCaffrey
2311bf2b5b Update MapToken.js 2021-01-10 12:42:05 +11:00
Mitchell McCaffrey
fd9f47e41e Added check for stage in drag overlay 2021-01-04 12:22:09 +11:00
Mitchell McCaffrey
30a1319298 Updated notes to always be square 2021-01-04 09:39:58 +11:00
Mitchell McCaffrey
7693db325a Removed unused imports 2021-01-03 16:46:51 +11:00
Mitchell McCaffrey
037e4a4ab4 Added fallback for token without size 2021-01-03 16:46:22 +11:00