Commit Graph

40 Commits

Author SHA1 Message Date
Mitchell McCaffrey
faddf03ecf Added show map grid option to maps 2020-05-31 16:25:05 +10:00
Mitchell McCaffrey
7dac49f690 Fix fog undo disabling 2020-05-31 13:56:33 +10:00
Mitchell McCaffrey
337a769fe4 Changed map and fog erase to allow for multi item selection 2020-05-31 12:12:16 +10:00
Mitchell McCaffrey
90e6e43c1d Merge branch 'release/v1.3.0' into feature/dice 2020-05-25 19:29:11 +10:00
Mitchell McCaffrey
33d7d972be Added map loading provider to fix bugs with multiple asset loading 2020-05-25 15:34:22 +10:00
Mitchell McCaffrey
bbb9279228 Fix undefined error in token state sort 2020-05-24 13:32:49 +10:00
Mitchell McCaffrey
09e423fd56 Added token animations back, edited token change event to support multiple edits
This stopped mounted vehicle animations from lagging
2020-05-22 22:17:30 +10:00
Mitchell McCaffrey
a8bd5ab672 Added is vehicle checkbox and vehicle type tokens 2020-05-22 20:43:07 +10:00
Mitchell McCaffrey
a77c4158ca Readded loading spinner for map loading and fixed infinite token size when loading 2020-05-22 17:56:03 +10:00
Mitchell McCaffrey
a6768727fe Readded map fog 2020-05-22 17:22:32 +10:00
Mitchell McCaffrey
a81eed1a48 Added transparency for tokens that can't be dragged 2020-05-22 15:11:18 +10:00
Mitchell McCaffrey
d26932d17c Added back map drawing 2020-05-22 13:47:11 +10:00
Mitchell McCaffrey
9e01ad1d0e Simplified menu interaction prevention 2020-05-22 13:46:52 +10:00
Mitchell McCaffrey
118878d9e1 Readded map token remove 2020-05-21 22:57:44 +10:00
Mitchell McCaffrey
5b70f69fb7 Moved map and map tokens to Konva 2020-05-21 16:46:50 +10:00
Mitchell McCaffrey
dbc3cd83e7 Fix performance issue from changing map state 2020-05-19 16:33:23 +10:00
Mitchell McCaffrey
7b98370e4c Added token edit modal, refactored map and token data providers
Refactored image drop code into reusable component as well
2020-05-19 16:21:01 +10:00
Mitchell McCaffrey
04794eddc1 Added token transition for when an other user moves a token 2020-05-18 19:21:29 +10:00
Mitchell McCaffrey
0a71609105 Added babylonjs, ammojs, dice models and simple dice interaction 2020-05-08 12:56:36 +10:00
Mitchell McCaffrey
86450a04db Added loading spinner to map load 2020-04-30 22:08:03 +10:00
Mitchell McCaffrey
11671849f8 Changed to having token edit permissions still allow you to place tokens 2020-04-30 15:12:34 +10:00
Mitchell McCaffrey
88b4785307 Moved undo and redo into tool settings and implemented it for fog 2020-04-30 09:29:16 +10:00
Mitchell McCaffrey
ccaa51fe84 Moved back to always showing controls and removed option to disable map change 2020-04-29 21:32:23 +10:00
Mitchell McCaffrey
4b9b06395d Added map fog permissions 2020-04-29 21:12:57 +10:00
Mitchell McCaffrey
aeb33058bb Added erase all back in 2020-04-29 20:55:52 +10:00
Mitchell McCaffrey
5357b79e70 Added fog toggle 2020-04-29 20:40:34 +10:00
Mitchell McCaffrey
5e2c178118 Separated map drawing and map fog into separate action lists 2020-04-28 22:05:47 +10:00
Mitchell McCaffrey
c73b099567 Re-added grid settings to fog tools 2020-04-28 17:03:17 +10:00
Mitchell McCaffrey
b3bf3c3598 Made grid snapping have a threshold and removed the option to toggle it on and off 2020-04-28 11:31:01 +10:00
Mitchell McCaffrey
81f84d8a19 Added shape drawing and more vector helper functions 2020-04-27 21:39:21 +10:00
Mitchell McCaffrey
e08dc60f5f Cleaned map interaction props and changed drawing interaction handle 2020-04-27 17:40:36 +10:00
Mitchell McCaffrey
2cf93ab77f Added UI elements for the new drawing system
Removed old gesture system
Refactored map interaction into separate component
2020-04-27 17:29:46 +10:00
Mitchell McCaffrey
fbdb68596e Added permissions functionality 2020-04-26 14:34:27 +10:00
Mitchell McCaffrey
ece974c5d9 Split tokens into data and state to avoid data duplication 2020-04-24 18:39:11 +10:00
Mitchell McCaffrey
a4e1a898ad Send a map clear before replace to ensure new state isn't show on old image 2020-04-24 16:18:48 +10:00
Mitchell McCaffrey
ed8f3bd283 Moved maps and tokens to a data source model
This will allow for easier custom token support as well as changing default tokens
2020-04-24 15:50:05 +10:00
Mitchell McCaffrey
5539fcf16a Fix selectMapButton name and a bug with deleting a map that isn't the current one 2020-04-23 21:54:58 +10:00
Mitchell McCaffrey
25b215d4e4 Added map state to the database 2020-04-23 17:23:34 +10:00
Mitchell McCaffrey
22c5b5cf75 Added multiple map layout and basic data flow 2020-04-23 11:54:29 +10:00
Mitchell McCaffrey
f2a92f2ccd Refactored component folder structure to be a little clearer 2020-04-23 10:09:12 +10:00