Commit Graph

1813 Commits

Author SHA1 Message Date
Mitchell McCaffrey
6013d839bb Add token outline generation to db versions 2021-06-10 15:06:11 +10:00
Mitchell McCaffrey
4b67071919 Replace token image cache with token outline hit function
Saves 70% perf on scroll then zoom with 100+ tokens
2021-06-10 11:16:47 +10:00
Mitchell McCaffrey
3d42b62b74 Add shape detection to token outline creation 2021-06-10 11:02:54 +10:00
Mitchell McCaffrey
21986231fa Add prevent select helper to stop highlighting UI elements on drag with touch devices 2021-06-09 23:25:28 +10:00
Mitchell McCaffrey
8b0ee7075d Fix tile droppable rendering on Safari 2021-06-09 23:24:24 +10:00
Mitchell McCaffrey
a8c355f251 Fix tile drag cancel with modal open 2021-06-09 10:33:47 +10:00
Mitchell McCaffrey
63f77059f1 Update TokenSettings.js 2021-06-09 09:51:00 +10:00
Mitchell McCaffrey
1d2696228b Standardise settings select margins 2021-06-09 09:47:39 +10:00
Mitchell McCaffrey
ee34c599da Add remove group items for maps and tokens 2021-06-09 09:29:32 +10:00
Mitchell McCaffrey
1ec67c7a0f Fix map tile add to map drag bug 2021-06-09 08:35:53 +10:00
Mitchell McCaffrey
387ecd6fd7 Fix modal inset for safari 2021-06-09 08:32:58 +10:00
Mitchell McCaffrey
50ce2ee123 Remove tile global position collision work around 2021-06-08 23:53:27 +10:00
Mitchell McCaffrey
57cce9346d Fix drag and drop add to map bugs with scrolled tile grid 2021-06-08 23:46:20 +10:00
Mitchell McCaffrey
2088c2ab04 Fix global image drop zIndex 2021-06-07 22:27:28 +10:00
Mitchell McCaffrey
3ef61cac26 Styled global drop and allow for adding to map on drop 2021-06-07 22:25:36 +10:00
Mitchell McCaffrey
eb9afcc66a Refactor image drop and to a hook and move global image drop 2021-06-07 21:08:14 +10:00
Mitchell McCaffrey
98f7744c1f Add a global image drop for dropping directly to the map screen 2021-06-06 21:04:46 +10:00
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
Nicola Thouliss
bfd0529207 Added all files successfully converted 2021-06-05 13:35:31 +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
Nicola Thouliss
c590adf836 Converted /components/banner to typescript 2021-06-02 19:08:36 +10:00
Nicola Thouliss
ecc4f67f37 Converted /modals to typescript 2021-06-02 19:03:01 +10:00
Nicola Thouliss
32f6e1fb23 Converted /ml folder to typescript 2021-05-29 14:20:24 +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
Nicola Thouliss
349cad53a2 Converted assets index.js to typescript 2021-05-28 12:37:33 +10:00
Mitchell McCaffrey
456f91c9ae Move tile container background to stay with scrolled content 2021-05-27 17:37:59 +10:00