Commit Graph

1486 Commits

Author SHA1 Message Date
Mitchell McCaffrey
4e7ed1d625 Add better optional handling to db error handler 2021-06-06 19:27:23 +10:00
Mitchell McCaffrey
acaf580ac7 Add error toasts for image drag and more restrictive image mime type rejection 2021-06-06 19:27:01 +10:00
Mitchell McCaffrey
7d1cff7358 Fix custom token loading for players 2021-06-06 11:03:07 +10:00
Mitchell McCaffrey
9d9fd5b753 Allow editing of default map and tokens and add default label setting 2021-06-06 10:24:56 +10:00
Mitchell McCaffrey
948be7cac2 Move drawing simplify away from grid dependent scaling 2021-06-06 09:39:07 +10:00
Mitchell McCaffrey
f5ccbe8f8f Update fog edit pattern opacity for new shading method 2021-06-06 09:05:39 +10:00
Mitchell McCaffrey
27c68b499d Add back group names 2021-06-05 18:05:35 +10:00
Mitchell McCaffrey
05f68dcb92 Add back range tile select 2021-06-05 17:16:39 +10:00
Mitchell McCaffrey
5f98b318b5 Remove old group modal 2021-06-05 16:38:28 +10:00
Mitchell McCaffrey
7b5bbcf05d Remove unused map data update function 2021-06-05 16:38:18 +10:00
Mitchell McCaffrey
e3353c1c44 Add back tile search and action bar 2021-06-05 16:38:01 +10:00
Mitchell McCaffrey
d6b6d6a1eb Hide token bar group if all items are hidden and only add visible tokens on drag 2021-06-05 14:46:14 +10:00
Mitchell McCaffrey
5347e30b98 Move to a delayed asset cleanup function to fix bugs with custom token group images 2021-06-05 14:40:44 +10:00
Mitchell McCaffrey
20351ff097 Add min height to token bar group 2021-06-05 14:19:55 +10:00
Mitchell McCaffrey
adce6ae7da Allow the hiding of default tokens 2021-06-05 13:38:01 +10:00
Mitchell McCaffrey
e22c614150 Add a token tile hidden badge 2021-06-05 13:34:17 +10:00
Mitchell McCaffrey
34461a7899 Change TileDragProvider cursor 2021-06-05 13:04:56 +10:00
Mitchell McCaffrey
5db2b30bc1 Add default props to GroupProvider 2021-06-05 13:04:26 +10:00
Mitchell McCaffrey
1a34dc756a Add token edit bar back 2021-06-05 13:04:12 +10:00
Mitchell McCaffrey
0f2776d774 Add back map edit bar and refactor select map modal edit functions 2021-06-04 21:54:26 +10:00
Mitchell McCaffrey
e508511ab5 Add check for vertical in token drag map bounds 2021-06-03 16:06:15 +10:00
Mitchell McCaffrey
597141d7fb Add token group drag from token bar 2021-06-03 16:05:57 +10:00
Mitchell McCaffrey
1ae9ce06cb Add more efficient method of adding multiple tokens to the map at once 2021-06-03 12:42:19 +10:00
Mitchell McCaffrey
0a03387bf4 Change drag cursors to grab and show no-drag cursor if needed 2021-06-03 12:25:23 +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
f84baab6fb Add workaround for token bar token placement 2021-05-28 15:11:46 +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
456f91c9ae Move tile container background to stay with scrolled content 2021-05-27 17:37:59 +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
653dc2b963 Updated group drag overlay to be more compact 2021-05-27 15:46:14 +10:00
Mitchell McCaffrey
10808fe516 Fix TokenBarGroup collapsed image drag 2021-05-25 18:13:39 +10:00
Mitchell McCaffrey
d053bb48f3 Add group support for token bar 2021-05-25 18:07:10 +10:00
Mitchell McCaffrey
0d026d3710 Remove unused column property from TokenTileGroup 2021-05-25 18:06:57 +10:00
Mitchell McCaffrey
cd498167aa Handle refs properly for token and map images 2021-05-25 18:06:26 +10:00
Mitchell McCaffrey
d55514ef7c Refactor map and token image 2021-05-25 16:56:37 +10:00
Mitchell McCaffrey
71b8aeec6c Add multi selection to tile grouping 2021-05-25 15:47:52 +10:00
Mitchell McCaffrey
68a084ebc9 Optimise sortable tile over detection and disable adding groups to groups 2021-05-24 17:44:49 +10:00
Mitchell McCaffrey
82f3a985f2 Added transition to modal open 2021-05-24 17:28:57 +10:00
Mitchell McCaffrey
4e5bd8bf02 Add animation to group open 2021-05-24 17:11:46 +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
4b225e5c14 Fix fog colour string warning 2021-05-24 13:07:54 +10:00
Mitchell McCaffrey
6ef3f680b4 Fix performance issues with editing map fog with lots of shapes 2021-05-24 11:36:46 +10:00
Mitchell McCaffrey
549ecbf65a Fix rendering of sub groups in group tiles 2021-05-21 16:14:11 +10:00
Mitchell McCaffrey
f496adae1d Fix drop overlay with single rowed grids 2021-05-21 16:12:32 +10:00
Mitchell McCaffrey
db460b2a4a Add creation of groups with drop 2021-05-21 16:12:09 +10:00
Mitchell McCaffrey
9c04a28c38 Add border around tile group drop over 2021-05-21 15:30:13 +10:00
Mitchell McCaffrey
9f5d0b8283 Add support for group visual with sortable tiles 2021-05-21 15:12:25 +10:00