Commit Graph

380 Commits

Author SHA1 Message Date
Mitchell McCaffrey
140ac7d61c Add sort to token and map tiles and refactor 2021-05-09 12:04:31 +10:00
Mitchell McCaffrey
8aa3bda90d Move drag and drop to dnd-kit 2021-05-06 15:04:53 +10:00
Mitchell McCaffrey
fa94275ac8 Remove unknown source from map and token tiles 2021-04-30 11:55:21 +10:00
Mitchell McCaffrey
acbb00dc5b Fix map size label in map settings 2021-04-29 16:38:33 +10:00
Mitchell McCaffrey
71edf5c5c5 Add thumbnail sending to assets for map grid 2021-04-29 15:44:57 +10:00
Mitchell McCaffrey
994b9b5ebb Added circle and rect outline options and optimised storage structure 2021-04-25 17:10:32 +10:00
Mitchell McCaffrey
f7975c041a Added token outlines 2021-04-24 18:21:49 +10:00
Mitchell McCaffrey
aa9a8979e1 Remove grid lowest resolution lightness calculation 2021-04-24 12:43:47 +10:00
Mitchell McCaffrey
245a9cee43 Move tokenState to work without backing token, add asset sync 2021-04-23 17:10:10 +10:00
Mitchell McCaffrey
9f11161b23 Moved assets into new table in the database 2021-04-22 16:53:35 +10:00
Mitchell McCaffrey
1d5cf77aea Fixed bug with corrupted map state on token deletion 2021-04-16 13:36:14 +10:00
Mitchell McCaffrey
b9ce0fd03d Add fog edit opacity 2021-04-09 15:35:57 +10:00
Mitchell McCaffrey
c9993605c4 Fixed dice select double click select and scaling 2021-04-01 11:11:56 +11:00
Mitchell McCaffrey
ad68aa7226 Refactor shortcuts into a central file and fix issue with caps lock 2021-03-25 16:31:06 +11:00
Mitchell McCaffrey
adcb55b937 Removed force redraw from token caching 2021-03-18 11:26:02 +11:00
Nicola Thouliss
bc23fffa27 Removed unused import in MapInteraction.js 2021-03-13 14:30:06 +11:00
Mitchell McCaffrey
89fb803398 Moved konva context bridging to shared component 2021-03-13 14:23:37 +11:00
Mitchell McCaffrey
5231d14937 Moved to global image source manager to allow resource sharing 2021-03-12 17:35:26 +11:00
Mitchell McCaffrey
84d6db3ce7 Add more simplification to fog shapes 2021-03-12 14:33:08 +11:00
Mitchell McCaffrey
8148e5c52c Simplify fog points more 2021-03-12 14:15:29 +11:00
Mitchell McCaffrey
506ec25a72 Add show fog guides setting 2021-03-12 13:37:51 +11:00
Mitchell McCaffrey
355da5d012 Add max points to fog bounding box 2021-03-12 13:16:27 +11:00
Mitchell McCaffrey
c8e2707421 Remove merge shape before single layer fog 2021-03-12 12:33:24 +11:00
Mitchell McCaffrey
e6fd10a904 Optimise grid and interaction context 2021-03-12 11:02:58 +11:00
Mitchell McCaffrey
5fb7041698 Fix fog fill pattern with fog preview 2021-02-22 19:58:46 +11:00
Mitchell McCaffrey
f5378e392b Remove fog cut alt shortcut 2021-02-22 19:57:32 +11:00
Mitchell McCaffrey
53d4e05502 Clear map actions on reset 2021-02-22 17:14:12 +11:00
Mitchell McCaffrey
d244471870 Removed fog guidelines of touch end 2021-02-22 17:04:35 +11:00
Mitchell McCaffrey
ef91e65104 Renamed pan to move and updated docs for 1.8.0 2021-02-22 15:32:35 +11:00
Mitchell McCaffrey
525398d2ec Added back fog stroke when not editing 2021-02-22 10:41:34 +11:00
Mitchell McCaffrey
0b424c31ec Added delete shortcut to remove last point from polygon fog 2021-02-16 08:38:40 +11:00
Mitchell McCaffrey
7639297510 Removed edge snapping in favour of single layer fog system 2021-02-16 08:27:39 +11:00
Mitchell McCaffrey
70eb049b4a Merge branch 'preview/v1.8.0' into release/v1.8.0 2021-02-13 15:48:23 +11:00
Mitchell McCaffrey
c6d87baf99 Fix triangle drawing with hexes 2021-02-13 10:00:30 +11:00
Mitchell McCaffrey
9370365ab4 Fix warnings 2021-02-12 00:38:36 +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
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
75a7fb401b Remove unused import 2021-02-08 17:26:56 +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
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