Commit Graph

230 Commits

Author SHA1 Message Date
Mitchell McCaffrey
529fd2caae Fixed bug that caused a crash when a map was deleted with unsaved changes 2020-09-11 11:24:25 +10:00
Mitchell McCaffrey
73180ee1cd Added token label size setting 2020-09-08 15:06:15 +10:00
Mitchell McCaffrey
36351efb82 Fix select tile flow for odd number of elements 2020-09-08 14:26:38 +10:00
Mitchell McCaffrey
7aed345baf Fixed alignment of map expand button 2020-09-08 12:34:03 +10:00
Mitchell McCaffrey
3f5bd7f659 Added wheel normalization to fix zoom on windows firefox 2020-09-06 16:57:42 +10:00
Mitchell McCaffrey
58cb92d432 Added full screen button 2020-09-06 15:18:05 +10:00
Mitchell McCaffrey
24a3387b51 Added scaling to map and token select for small screens 2020-09-06 13:20:05 +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
b4e52ebb23 Fixed 2 bugs with map loading and sending
When a map was sent the receiver didn't save the resolutions tihs meant that if the original map owner left or wasn't the party leader the map would be blank when new users joined. Also if a map sender left when sending a map and rejoined their version of the map would be overriden by a corrupted version.
2020-08-28 17:06:13 +10:00
Mitchell McCaffrey
7f7471b1e9 Fix sorting bug when dragging token from tokens list 2020-08-28 15:17:52 +10:00
Mitchell McCaffrey
9bc69a18e8 Fix proxy token drop being off on different zoom factors 2020-08-28 15:13:41 +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
b26a89f8ca Added token sorted based off of last modified 2020-08-27 17:56:59 +10:00
Mitchell McCaffrey
9ab584cbe7 Added lock and visibility options to tokens 2020-08-27 17:30:17 +10:00
Mitchell McCaffrey
f9c1ec2d9b Fixed bug with map state being would be wrongly synced to party members 2020-08-11 18:48:48 +10:00
Mitchell McCaffrey
f8c9588893 Increased token snapping threshold 2020-08-10 21:53:43 +10:00
Mitchell McCaffrey
602631f9b1 Added a saved settings system that uses localstorage and versioning 2020-08-07 17:15:16 +10:00
Mitchell McCaffrey
fd9659db98 Added shortcut for fog toggle 2020-08-07 14:10:37 +10:00
Mitchell McCaffrey
f19389fbc5 Changed line joins to round for fog and drawing
Avoids the long overhang with three sided fog shapes
2020-08-07 14:05:55 +10:00
Mitchell McCaffrey
239f377aef Changed map and token select number inputs to not prepend a 0 when typing numbers 2020-08-07 13:56:03 +10:00
Mitchell McCaffrey
5dc338471d Added shortcut to pointer tool 2020-08-07 13:39:23 +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
76cad29f2b Added snap to grid option to map settings 2020-08-07 12:28:50 +10:00
Mitchell McCaffrey
1729abe777 Fix bug with map transform not getting reset for map owner on change map 2020-08-06 18:52:03 +10:00
Mitchell McCaffrey
93a09db707 Fix bug that caused closing the select map modal to select the map
Added ability to deselect a map by clicking outside of the map select tile
2020-08-06 13:31:46 +10:00
Mitchell McCaffrey
d20be94059 Restructured dice so it is part of the party
Added initial networking plumbing
2020-08-05 16:34:26 +10:00
Mitchell McCaffrey
1cbd1d7e1f Removed unused import 2020-08-05 12:30:33 +10:00
Mitchell McCaffrey
fc4d36963f Moved timer tool out of the map controls and into the party controls 2020-08-04 16:26:53 +10:00
Mitchell McCaffrey
6e0eb8e3ba Added timer tool to map 2020-08-04 15:40:32 +10:00
Mitchell McCaffrey
558db7d88b Changed fog so it is tranparent when you can edit it
Added a show preview toggle to see how others will see it.
Refactored fog and drawing props to simplify
2020-08-04 14:51:31 +10:00
Mitchell McCaffrey
96ff9a9fa3 Added a scale and unit option to the measure tool 2020-08-04 10:31:31 +10:00
Mitchell McCaffrey
e1733bb504 Change token fade hover to only be on drawing 2020-07-31 14:50:01 +10:00
Mitchell McCaffrey
6aef95c78c Add crosshair pointer for pointer 2020-07-31 14:49:36 +10:00
Mitchell McCaffrey
142b3f804f Added a trail to the pointer 2020-07-31 14:20:36 +10:00
Mitchell McCaffrey
eed47e644c Added network interpolation and fix send rate for pointer 2020-07-31 11:03:12 +10:00
Mitchell McCaffrey
c6f9b29cc3 Added simple pointer tool 2020-07-28 17:59:26 +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
7252efc7e9 Fix bug with token delete not working when intersecting fog 2020-07-20 19:05:19 +10:00
Mitchell McCaffrey
f1986c0c14 Moved token mount intersection to use proper intersection shape 2020-07-18 15:21:33 +10:00
Mitchell McCaffrey
44e6a34aba Moved to handling keyboard shortcuts on the document body
Also removed shortcut text input checking to map interaction component
2020-07-18 11:06:02 +10:00
Mitchell McCaffrey
17043745de Fix bug with brush tool dissapearing when collpased 2020-07-18 10:46:18 +10:00
Mitchell McCaffrey
6aa1f28c96 Fix crash with map size settings 2020-07-17 19:06:52 +10:00
Mitchell McCaffrey
5e6f3537b4 Fix bug with map transform resetting when a new resolution is loaded 2020-07-17 17:06:40 +10:00
Mitchell McCaffrey
5ba4817398 Fix bug with map quality levels not loading on peers 2020-07-17 17:03:47 +10:00
Mitchell McCaffrey
08214cd05c Fix map quality setting margin 2020-07-17 16:36:39 +10:00
Mitchell McCaffrey
9f81a64fd3 Simplified map quality label 2020-07-17 16:32:31 +10:00
Mitchell McCaffrey
067e672d55 Added map size indicator to map quality setting 2020-07-17 16:32:20 +10:00
Mitchell McCaffrey
61a2e1ac8d Disabled map select when loading a map 2020-07-17 15:57:52 +10:00