Commit Graph

152 Commits

Author SHA1 Message Date
Mitchell McCaffrey
aece31f89a Refactored to shared sortable tiles 2021-05-13 16:26:59 +10:00
Mitchell McCaffrey
31ef21a588 Move sortable to drag overlay 2021-05-09 19:17:55 +10:00
Mitchell McCaffrey
5a6bfd8a60 Remove unknown source from token preview 2021-05-09 19:17:37 +10:00
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
bd522017a7 Rename token bar 2021-05-01 14:32:02 +10:00
Mitchell McCaffrey
a91d559ba6 Remove cache functions from map and tokens and add to assets 2021-04-30 11:56:37 +10:00
Mitchell McCaffrey
fa94275ac8 Remove unknown source from map and token tiles 2021-04-30 11:55:21 +10:00
Mitchell McCaffrey
f7975c041a Added token outlines 2021-04-24 18:21:49 +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
6b9665ffe8 Fix token tile loading 2021-04-23 11:47:18 +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
6216d3f813 Fix note and token text size on visible change 2021-04-11 13:49:29 +10:00
Mitchell McCaffrey
75f4b97135 Moved asset manifest to use partial network updates and fix asset cache ignoring changes 2021-03-22 21:23:43 +11:00
Mitchell McCaffrey
9bd1ff2d97 Add alt and title to list tokens 2021-03-21 17:20:05 +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
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