Commit Graph

85 Commits

Author SHA1 Message Date
Mitchell McCaffrey
e6fd10a904 Optimise grid and interaction context 2021-03-12 11:02:58 +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
9f96145410 Updated rotation to have 15 degree increments 2021-02-07 17:25:29 +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
Mitchell McCaffrey
d8f5ccb6a8 Fix token label not resizing on players screens 2021-01-28 17:10:26 +11:00
Mitchell McCaffrey
72ecd002dd Added automatic token label fitting 2021-01-27 17:00:03 +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
7693db325a Removed unused imports 2021-01-03 16:46:51 +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
ddda241c56 Limit note and label text to 144 characters 2020-11-27 11:53:25 +11:00
Mitchell McCaffrey
d231d9340e Fix styling of indexeddb disabled warning 2020-11-26 17:08:25 +11:00
Mitchell McCaffrey
68a5ae1f46 Remove int requirement from default token size 2020-11-07 12:27:21 +11:00
Mitchell McCaffrey
cb2c432d0a Changed min token and note scale to 0.5 and fix grid snapping for non integer values 2020-11-06 15:48:35 +11:00
Mitchell McCaffrey
088466ea07 Added slider label on drag 2020-11-06 13:35:11 +11:00
Mitchell McCaffrey
a6085599dd Added note removal 2020-11-05 14:41:33 +11:00
Mitchell McCaffrey
b72f6d483f Added null checks to token menu state changes 2020-10-30 12:01:46 +11:00
Mitchell McCaffrey
d7b866d98d Added token group null check in tokenDragOverlay 2020-10-30 11:50:19 +11:00
Mitchell McCaffrey
5df01973e5 Moved map database disabled banner down to account for search bar 2020-10-23 20:50:37 +11:00
Mitchell McCaffrey
f26cbf24d2 Refactored stage zooming to center on the mouse position 2020-10-22 16:10:31 +11:00
Mitchell McCaffrey
1c79032f30 Added max zoom based off of map size and normalized wheelY by window height 2020-10-22 12:51:37 +11:00
Mitchell McCaffrey
e9e7794027 Added token preview to edit token modal and refactored Grid from Map Grid 2020-10-17 10:45:59 +11:00
Mitchell McCaffrey
fa659bc80a Added delete key shortcut to select maps and tokens modal 2020-10-10 15:44:07 +11:00
Mitchell McCaffrey
0f6f9f8c42 Rearranged token edit settings 2020-10-10 11:34:03 +11:00
Mitchell McCaffrey
718713b036 Added token hide in sidebar to multi select 2020-10-09 16:18:52 +11:00
Mitchell McCaffrey
f28d1b6690 Added search and groups to token select, refactored map search and group 2020-10-01 22:32:21 +10:00
Mitchell McCaffrey
1938f59060 Added creatable option to Select 2020-10-01 15:04:45 +10:00
Mitchell McCaffrey
2c0a01b66c Moved to react-select for dropdowns to unify platforms 2020-09-23 16:29:15 +10:00
Mitchell McCaffrey
e92c561a3a Added automatic cache invalidation for maps and tokens 2020-09-11 16:56:40 +10:00
Mitchell McCaffrey
73180ee1cd Added token label size setting 2020-09-08 15:06:15 +10:00
Mitchell McCaffrey
170a8072c5 Fix token label width from updating when token size changes 2020-09-08 14:31:44 +10:00
Mitchell McCaffrey
36351efb82 Fix select tile flow for odd number of elements 2020-09-08 14:26:38 +10:00
Mitchell McCaffrey
6ce3c3bd7e Fixed null refrence in token drag overlay 2020-09-06 16:26:55 +10:00
Mitchell McCaffrey
58cb92d432 Added full screen button 2020-09-06 15:18:05 +10:00
Mitchell McCaffrey
24a3387b51 Added scaling to map and token select for small screens 2020-09-06 13:20:05 +10:00
Mitchell McCaffrey
9bdbb9cb4c Fixed proxy token positioning for touch devices 2020-08-28 21:34:31 +10:00
Mitchell McCaffrey
9bc69a18e8 Fix proxy token drop being off on different zoom factors 2020-08-28 15:13:41 +10:00
Mitchell McCaffrey
3c27f65d0f Added token category option 2020-08-27 19:09:16 +10:00
Mitchell McCaffrey
9ab584cbe7 Added lock and visibility options to tokens 2020-08-27 17:30:17 +10:00
Mitchell McCaffrey
239f377aef Changed map and token select number inputs to not prepend a 0 when typing numbers 2020-08-07 13:56:03 +10:00
Mitchell McCaffrey
7204109c7d Added a limited scale to token label size based off of token size 2020-07-20 19:30:09 +10:00
Mitchell McCaffrey
7252efc7e9 Fix bug with token delete not working when intersecting fog 2020-07-20 19:05:19 +10:00
Mitchell McCaffrey
6a1bae3ab3 Fix token tile delete button name 2020-07-02 17:01:08 +10:00
Mitchell McCaffrey
9f2ab861bb Fixed bug with token and map settings modal values being edited with no item selected 2020-06-28 15:44:36 +10:00
Mitchell McCaffrey
1da7ee9e95 Moved shortcut prevention to all modals 2020-06-27 10:21:50 +10:00
Mitchell McCaffrey
62587e471a Fix bug with text input and keyboard shortcuts on token menu 2020-06-27 10:11:10 +10:00