Commit Graph

240 Commits

Author SHA1 Message Date
Mitchell McCaffrey
72f2c74e9d Add on upgrade listener for DB and overlay when upgrading 2021-06-24 16:14:20 +10:00
Mitchell McCaffrey
110a6bdd1f Add shuffle helper 2021-06-24 16:13:48 +10:00
Mitchell McCaffrey
1ffe24ae1b Fix bug with adding fog to a fog shape with a hole in it 2021-06-21 08:02:24 +10:00
Mitchell McCaffrey
1f2c70a612 Change measure tool to use full snapping to grid center and add exact euclidean measurements 2021-06-19 09:36:00 +10:00
Mitchell McCaffrey
bfc9c4fba3 Handle edge cases with image outline (semi-transparency, tiny pieces and errors) 2021-06-18 13:11:29 +10:00
Mitchell McCaffrey
264e298e25 Add token default size from import file name 2021-06-17 12:09:18 +10:00
Mitchell McCaffrey
d0fba917a2 Add custom intersection for token vehicles using their outline 2021-06-12 20:53:40 +10:00
Mitchell McCaffrey
3d74dfc88a Fix grid editor mutably changing grid state 2021-06-12 13:14:46 +10:00
Mitchell McCaffrey
833f0082ba Fix grid cell pixel size being set to Infinity 2021-06-12 13:14:21 +10:00
Mitchell McCaffrey
3d42b62b74 Add shape detection to token outline creation 2021-06-10 11:02:54 +10:00
Mitchell McCaffrey
ee34c599da Add remove group items for maps and tokens 2021-06-09 09:29:32 +10:00
Mitchell McCaffrey
948be7cac2 Move drawing simplify away from grid dependent scaling 2021-06-06 09:39:07 +10:00
Mitchell McCaffrey
27c68b499d Add back group names 2021-06-05 18:05:35 +10:00
Mitchell McCaffrey
e3353c1c44 Add back tile search and action bar 2021-06-05 16:38:01 +10:00
Mitchell McCaffrey
e508511ab5 Add check for vertical in token drag map bounds 2021-06-03 16:06:15 +10:00
Mitchell McCaffrey
bac3101886 Add ability to drag and drop a tile onto the map and added better drag cursors 2021-05-28 17:06:20 +10:00
Mitchell McCaffrey
57aafce938 Add support for ungrouping tiles and refactor tile drag functions 2021-05-28 13:13:21 +10:00
Mitchell McCaffrey
69eafb868c Ensure order of selected tiles is kept when moving them 2021-05-27 17:19:36 +10:00
Mitchell McCaffrey
dd130a008e More changes to dexie observable change helper 2021-05-27 17:19:02 +10:00
Mitchell McCaffrey
3b3e9fba97 Fix an issue with dexie observable change helper 2021-05-27 15:47:35 +10:00
Mitchell McCaffrey
71b8aeec6c Add multi selection to tile grouping 2021-05-25 15:47:52 +10:00
Mitchell McCaffrey
0917ef05a1 Rename select helper to group 2021-05-24 15:17:23 +10:00
Mitchell McCaffrey
b776b86186 Refactored group functions into common context and added group overlay 2021-05-24 13:34:21 +10:00
Mitchell McCaffrey
db460b2a4a Add creation of groups with drop 2021-05-21 16:12:09 +10:00
Mitchell McCaffrey
9f5d0b8283 Add support for group visual with sortable tiles 2021-05-21 15:12:25 +10:00
Mitchell McCaffrey
d34cd98fa9 Added support for recursive groups in helper function 2021-05-20 14:01:17 +10:00
Mitchell McCaffrey
ef73ca0179 Make tile groups selectable 2021-05-20 12:22:07 +10:00
Mitchell McCaffrey
140ac7d61c Add sort to token and map tiles and refactor 2021-05-09 12:04:31 +10:00
Mitchell McCaffrey
9a9b778f04 Remove map preview sending and fix initial player map load 2021-04-24 12:39:04 +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
a023ef61ed Fix token and map editing and viewing 2021-04-23 11:48:24 +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
89fb803398 Moved konva context bridging to shared component 2021-03-13 14:23:37 +11:00
Mitchell McCaffrey
355da5d012 Add max points to fog bounding box 2021-03-12 13:16:27 +11:00
Mitchell McCaffrey
526fa89a4b Moved fog cut ids to shortids 2021-03-12 11:03:54 +11:00
Mitchell McCaffrey
0a12361b16 Changed thumbnail function to produce square images 2021-02-19 09:13:25 +11:00
Mitchell McCaffrey
b7ed9ae9d0 Removed unused import 2021-02-16 17:33:01 +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
2f4e671390 Fix crash when unable to resize image 2021-02-14 08:35:43 +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
ed605fe55b Added bounding box check to fog edge snapping 2021-02-13 10:20:55 +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
846afe5495 Moved all grid snapping to useGridSnapping hook 2021-02-09 14:13:08 +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
502f872fbf Add hex support to useGridSnapping 2021-02-07 11:16:36 +11:00