Commit Graph

592 Commits

Author SHA1 Message Date
Mitchell McCaffrey
012086745f Added more padding to token drag overlay to avoid problems with ios gesture bar 2020-05-25 17:25:45 +10:00
Mitchell McCaffrey
4299467757 Fix token menu open position bug with selecting the same token after movement 2020-05-25 16:35:48 +10:00
Mitchell McCaffrey
ef96f2f7c4 Reversed context menu as it was bugged with map interaction 2020-05-25 16:12:30 +10:00
Mitchell McCaffrey
6bd0cefc14 Added right click support back for token menu 2020-05-25 16:01:15 +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
b0c1dcf9dd Changed map drag position to use a ref value to avoid re-renders
Added a useMapBrush helper
2020-05-25 15:07:12 +10:00
Mitchell McCaffrey
8932ceb1e3 Make map translation smoother by removing it from the state 2020-05-25 14:09:45 +10:00
Mitchell McCaffrey
73c7ca91fa Fix token remove for touch devices 2020-05-25 13:12:30 +10:00
Mitchell McCaffrey
be7d6c5277 Moved to react spring for konva animations 2020-05-25 10:37:28 +10:00
Mitchell McCaffrey
b3b84d889b Added new members to state db upgrade removed duplicated field from token state
Matched token default id with map default id as map can't be changed
2020-05-24 15:18:30 +10:00
Mitchell McCaffrey
bbb9279228 Fix undefined error in token state sort 2020-05-24 13:32:49 +10:00
Mitchell McCaffrey
d96ec27c88 Remove console log in game 2020-05-24 13:32:33 +10:00
Mitchell McCaffrey
a91f2c6d39 Added tap events for map interaction 2020-05-22 23:55:50 +10:00
Mitchell McCaffrey
5f2d282df8 Added pinch to zoom for map 2020-05-22 23:43:55 +10:00
Mitchell McCaffrey
312f9a8773 Change broker to dev 2020-05-22 22:24:10 +10:00
Mitchell McCaffrey
f8e4c3bc13 Merge branch 'master' into feature/custom-tokens 2020-05-22 22:22:59 +10:00
Mitchell McCaffrey
8b0013be08 Enable ICE trickling for faster connections 2020-05-22 22:22:22 +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
ef1c875088 Added token rotation 2020-05-22 21:10:05 +10:00
Mitchell McCaffrey
a8bd5ab672 Added is vehicle checkbox and vehicle type tokens 2020-05-22 20:43:07 +10:00
Mitchell McCaffrey
00c24c34a4 Added last edited by in default token state 2020-05-22 20:09:02 +10:00
Mitchell McCaffrey
0304236558 Removed unused draw functions 2020-05-22 18:21:21 +10:00
Mitchell McCaffrey
b6d6a16817 Fix capitilisation of default maps and tokens names 2020-05-22 18:11:45 +10:00
Mitchell McCaffrey
e188294aed Fix select token done button bug 2020-05-22 18:04:17 +10:00
Mitchell McCaffrey
6b176db914 Updated list token size to cover fit 2020-05-22 18:00:10 +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
9f21f895ba Disable map interaction in map selection modal 2020-05-22 17:25:17 +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
14c9151405 Added proper cursors for the selected tool 2020-05-22 15:10:20 +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
6b675d8200 Increased token remove button size 2020-05-22 13:44:17 +10:00
Mitchell McCaffrey
d9a4b10563 Fix token resolution for high DPI screens 2020-05-22 13:44:05 +10:00
Nicola
537b32ed17 Update server variable after patch 2020-05-21 23:38:05 +10:00
Nicola
3184674ee8 Revert server changes 2020-05-21 23:18:31 +10:00
Nicola Thouliss
4dc06a491a
Merge pull request #6 from mitchemmc/digital-ocean
Change backend servers to Digital Ocean
2020-05-21 23:07:58 +10:00
Mitchell McCaffrey
118878d9e1 Readded map token remove 2020-05-21 22:57:44 +10:00
Mitchell McCaffrey
05df26491f Renamed remove token icon 2020-05-21 22:57:05 +10:00
Mitchell McCaffrey
8b83fb8c67 Fix key in token status 2020-05-21 21:31:44 +10:00
Mitchell McCaffrey
07a5d95e4c Remove unused member in proxy token 2020-05-21 21:31:33 +10:00
Mitchell McCaffrey
daab80f45e Fix prevent interaction bug in map token 2020-05-21 21:31:15 +10:00
Mitchell McCaffrey
9ace933d30 Fix no interaction bug when closing token menu with enter 2020-05-21 20:58:17 +10:00
Mitchell McCaffrey
b9968053b7 Converted token label and status to konva 2020-05-21 20:57:52 +10:00
Mitchell McCaffrey
5b70f69fb7 Moved map and map tokens to Konva 2020-05-21 16:46:50 +10:00
Nicola
e8b62282ea Edit DNS name for prod server 2020-05-21 16:03:01 +10:00
Nicola
c09dff7b58 Revert "Testing changes to db access"
This reverts commit ce4f7a08ad.
2020-05-21 12:33:55 +10:00
Nicola
ce4f7a08ad Testing changes to db access 2020-05-21 11:37:40 +10:00
Nicola
fbee27d1c0 Switch to prod digital ocean servers 2020-05-21 10:04:00 +10:00
Mitchell McCaffrey
542388a67f Removed single character limit for token labels and added sizing for token size 2020-05-20 18:39:57 +10:00