Commit Graph

1127 Commits

Author SHA1 Message Date
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
a188736dd8 Added version comments to db 2021-02-08 17:08:29 +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
b9993e1a0b Moved from stream-saver to file-saver 2021-02-07 22:53:47 +11:00
Mitchell McCaffrey
93a8563210 Update ImportExportModal.js 2021-02-07 22:20:27 +11:00
Mitchell McCaffrey
23b0432bb2 Fix unused vars 2021-02-07 21:53:29 +11:00
Mitchell McCaffrey
31f502e6ba Add poly/ponyfills for WritableStream and Blob 2021-02-07 21:53:17 +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
5f5384a3e5 Updated simple-peer dependency to fix regression with browser support 2021-02-07 19:55:07 +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
905b43a64b Merge branch 'master' into release/v1.7.1 2021-02-07 16:04:00 +11:00
Mitchell McCaffrey
09471bdf2b Added requesting asset tracking to prevent assets loading multiple times 2021-02-07 14:47:34 +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
e90b6dea49 Add back vector to for capitilization change 2021-02-04 15:15:27 +11:00
Mitchell McCaffrey
835dbbbc0f Delete vector2.js 2021-02-04 15:14:57 +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
924b3e2481 Moved draw action helpers into new file to fix import errors with workers 2021-02-04 09:59:03 +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
2fc7f4f162 Update .env.production 2021-02-02 22:17:26 +11:00
Mitchell McCaffrey
39352866cb Updated webrtc error ignore 2021-02-01 10:00:42 +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
39f3034f91 Moved to Comlink.transfer for worker data loading to prevent memory issues 2021-01-27 16:24:13 +11:00
Mitchell McCaffrey
5d1fdaedd8 Disabled export button when database is unavailable 2021-01-27 12:06:37 +11:00
Mitchell McCaffrey
78b8653986 Change export extension 2021-01-27 12:03:10 +11:00
Mitchell McCaffrey
02fa9725cb Moved import/export to worker 2021-01-27 11:57:23 +11:00
Mitchell McCaffrey
3127da0b67 Merge branch 'master' into release/v1.7.1 2021-01-27 11:05:39 +11:00
Mitchell McCaffrey
613beff72e Fix networked state update overriding current changes 2021-01-27 07:58:35 +11:00
Mitchell McCaffrey
b803f7b4d8 Fix crash with non synced fog edit 2021-01-27 07:57:59 +11:00
Mitchell McCaffrey
83a987d9df Add initial import export functionality 2021-01-26 21:49:44 +11:00
Mitchell McCaffrey
cbe1149178 Added extra logging for shape merge 2021-01-26 08:26:51 +11:00
Mitchell McCaffrey
00422a8113 Added extra logging to fog cut 2021-01-25 13:38:37 +11:00
Mitchell McCaffrey
feb803ebef Added note text only mode 2021-01-25 10:03:20 +11:00
Mitchell McCaffrey
55b9be4e2d Added center grid snapping for tokens 2021-01-25 09:15:32 +11:00