Commit Graph

34 Commits

Author SHA1 Message Date
Mitchell McCaffrey
e92a9acb5a Added grid inset to map snapping 2020-10-09 14:50:51 +11:00
Mitchell McCaffrey
539f216cfe Added grid scale and offset to maps and refactored into grid object 2020-10-02 15:19:10 +10:00
Mitchell McCaffrey
4edbac5408 Moved token lock click detect to time differece as it generalises easier to touch 2020-08-28 17:27:19 +10:00
Mitchell McCaffrey
3c27f65d0f Added token category option 2020-08-27 19:09:16 +10:00
Mitchell McCaffrey
a912163079 Fix vehicles moving locked tokens 2020-08-27 17:58:41 +10:00
Mitchell McCaffrey
9ab584cbe7 Added lock and visibility options to tokens 2020-08-27 17:30:17 +10:00
Mitchell McCaffrey
f8c9588893 Increased token snapping threshold 2020-08-10 21:53:43 +10:00
Mitchell McCaffrey
91d5298ac6 Changed token snapping threshold 2020-08-07 13:35:47 +10:00
Mitchell McCaffrey
548ec5f09a Added grid snapping to map tokens 2020-08-07 12:55:16 +10:00
Mitchell McCaffrey
e1733bb504 Change token fade hover to only be on drawing 2020-07-31 14:50:01 +10:00
Mitchell McCaffrey
58ac649aa8 Fixed bug with tokens that were attatched to a vehicle being rendered on top of fog 2020-07-20 19:14:46 +10:00
Mitchell McCaffrey
f1986c0c14 Moved token mount intersection to use proper intersection shape 2020-07-18 15:21:33 +10:00
Mitchell McCaffrey
3744364981 Fix bug with token opacity when changing tools with a shortcut 2020-06-27 10:04:54 +10:00
Mitchell McCaffrey
31cdbbb8dd Fix bug with deleteing tokens that have been removed 2020-05-31 10:23:45 +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
be7d6c5277 Moved to react spring for konva animations 2020-05-25 10:37:28 +10:00
Mitchell McCaffrey
a91f2c6d39 Added tap events for map interaction 2020-05-22 23:55:50 +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
a77c4158ca Readded loading spinner for map loading and fixed infinite token size when loading 2020-05-22 17:56:03 +10:00
Mitchell McCaffrey
a81eed1a48 Added transparency for tokens that can't be dragged 2020-05-22 15:11:18 +10:00
Mitchell McCaffrey
d9a4b10563 Fix token resolution for high DPI screens 2020-05-22 13:44:05 +10:00
Mitchell McCaffrey
118878d9e1 Readded map token remove 2020-05-21 22:57:44 +10:00
Mitchell McCaffrey
daab80f45e Fix prevent interaction bug in map token 2020-05-21 21:31:15 +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
Mitchell McCaffrey
542388a67f Removed single character limit for token labels and added sizing for token size 2020-05-20 18:39:57 +10:00
Mitchell McCaffrey
3f959fd3a3 Added unknown token for when a token in use is deleted 2020-05-20 11:35:14 +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
ece974c5d9 Split tokens into data and state to avoid data duplication 2020-04-24 18:39:11 +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
f2a92f2ccd Refactored component folder structure to be a little clearer 2020-04-23 10:09:12 +10:00