Commit Graph

360 Commits

Author SHA1 Message Date
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
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
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
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
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
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
037e4a4ab4 Added fallback for token without size 2021-01-03 16:46:22 +11:00
Mitchell McCaffrey
d1315b3425 Added a larger layout for map and token select and edit 2021-01-03 14:53:06 +11:00
Mitchell McCaffrey
cf12629f82 Increased map loading overlay height 2021-01-03 12:34:37 +11:00
Mitchell McCaffrey
2482196876 Fix errors with fog disappearing on zoom and crashing on zooming out 2021-01-02 18:01:04 +11:00
Mitchell McCaffrey
c90434b626 Added drop shadow to fog, and optimized it with caching 2021-01-02 12:17:27 +11:00
Mitchell McCaffrey
4adc6015f1 Changed token cache pixel ratio to use canvas ratio 2021-01-02 09:49:52 +11:00
Mitchell McCaffrey
cc7db42894 Changed hit detection for tokens to only enable when dragging a vehicle 2021-01-02 09:41:18 +11:00