Mitchell McCaffrey
b7da0cffa7
Added height and width check to resize handle
2020-12-05 17:16:31 +11:00
Mitchell McCaffrey
f1ae78612c
Added fog rectangle tool
2020-12-03 17:32:41 +11:00
Mitchell McCaffrey
f5b875e101
Renamed remove fog to erase fog and changed shortcut
2020-12-03 16:53:44 +11:00
Mitchell McCaffrey
c24133813f
Replaced fog subtraction with fog cutting
2020-12-03 16:52:24 +11:00
Mitchell McCaffrey
19d44f3f79
Fix note crash when selecting pan tool
2020-11-27 12:23:57 +11:00
Mitchell McCaffrey
ddda241c56
Limit note and label text to 144 characters
2020-11-27 11:53:25 +11:00
Mitchell McCaffrey
309870247b
Moved map loading overlay to be full screen width
2020-11-27 11:37:15 +11:00
Mitchell McCaffrey
fca1c9fd1f
Added margin to markdown list and added default props
2020-11-27 11:19:52 +11:00
Mitchell McCaffrey
d231d9340e
Fix styling of indexeddb disabled warning
2020-11-26 17:08:25 +11:00
Mitchell McCaffrey
9131557b71
Merge branch 'master' into release/v1.7.0
2020-11-26 10:23:08 +11:00
Mitchell McCaffrey
7346eced44
Fix vehicle tokens in Konva 7
2020-11-21 11:12:05 +11:00
Mitchell McCaffrey
4c301604fc
Added alternating diagonals map measurement
2020-11-20 12:00:59 +11:00
Mitchell McCaffrey
c338af5557
Merge branch 'master' into release/v1.7.0
2020-11-20 09:40:43 +11:00
Mitchell McCaffrey
f48a39c3ad
Fix erase of drawing and fog with a short click
2020-11-20 09:24:28 +11:00
Mitchell McCaffrey
dd41925b25
Added decimal support to measure tool and added calculated precision
2020-11-20 09:08:13 +11:00
Mitchell McCaffrey
9a1a98ce9f
Merge branch 'master' into release/v1.7.0
2020-11-20 08:30:09 +11:00
Mitchell McCaffrey
1db2fb04d2
Fix pointer being shown when tapping map controls on touch devices
2020-11-19 15:08:03 +11:00
Mitchell McCaffrey
b6b68014ed
Fix issue with drag start using old positions on touch devices
2020-11-19 14:53:07 +11:00
Mitchell McCaffrey
edab7c85f1
Seperated drag events in map interaction
2020-11-19 14:26:06 +11:00
Mitchell McCaffrey
e886da6dd9
Remove dice share background colour
2020-11-07 12:35:23 +11:00
Mitchell McCaffrey
68a5ae1f46
Remove int requirement from default token size
2020-11-07 12:27:21 +11:00
Mitchell McCaffrey
485c418b57
Updated note text sizes to be relative to the note height
2020-11-06 16:27:47 +11:00
Mitchell McCaffrey
cb2c432d0a
Changed min token and note scale to 0.5 and fix grid snapping for non integer values
2020-11-06 15:48:35 +11:00
Mitchell McCaffrey
088466ea07
Added slider label on drag
2020-11-06 13:35:11 +11:00
Mitchell McCaffrey
6fedcc171d
Added note edit flags
2020-11-05 16:21:52 +11:00
Mitchell McCaffrey
8873e59205
Added sorting to notes
2020-11-05 15:39:56 +11:00
Mitchell McCaffrey
f5aec514f8
Added locking to notes
2020-11-05 15:30:22 +11:00
Mitchell McCaffrey
9790d4e44f
Added animation and visibility to notes
2020-11-05 15:17:23 +11:00
Mitchell McCaffrey
5fd3f6d814
Changed note text color based off of background color
2020-11-05 14:48:32 +11:00
Mitchell McCaffrey
a6085599dd
Added note removal
2020-11-05 14:41:33 +11:00
Mitchell McCaffrey
807a1be626
Removed label from map note menu
2020-11-05 13:40:50 +11:00
Mitchell McCaffrey
dcdbb1ea98
Removed modes from note tool
2020-11-05 12:28:28 +11:00
Mitchell McCaffrey
a3ae3471e8
Added note menu and note text
2020-11-04 15:03:34 +11:00
Mitchell McCaffrey
927c596b04
Added notes to map state reset detection
2020-11-04 15:03:14 +11:00
Mitchell McCaffrey
6c1d952855
Added basic persistance to notes
2020-11-03 17:15:39 +11:00
Mitchell McCaffrey
84af4c5845
Removed unused props from map drawing and fog
2020-11-03 16:38:26 +11:00
Mitchell McCaffrey
9fbd0d2a9d
Added notes tool setup
2020-11-03 16:21:39 +11:00
Mitchell McCaffrey
9c1960ba71
Refactored getBrushPosition helper
2020-11-03 16:20:51 +11:00
Mitchell McCaffrey
b72f6d483f
Added null checks to token menu state changes
2020-10-30 12:01:46 +11:00
Mitchell McCaffrey
d7b866d98d
Added token group null check in tokenDragOverlay
2020-10-30 11:50:19 +11:00
Mitchell McCaffrey
fcbc903d16
Added lazy loading to dice and tensorflow
2020-10-30 11:17:27 +11:00
Mitchell McCaffrey
75a9c604a3
Fix loading overlay being behind dice tray
2020-10-27 18:26:09 +11:00
Mitchell McCaffrey
1d3443414e
Added toast notification for party joining
2020-10-27 18:25:50 +11:00
Mitchell McCaffrey
5df01973e5
Moved map database disabled banner down to account for search bar
2020-10-23 20:50:37 +11:00
Mitchell McCaffrey
60d24050ee
Added back show more option for maps but made it on by default
2020-10-23 20:22:12 +11:00
Mitchell McCaffrey
f98fc394d4
Renamed show grid to draw grid
2020-10-22 21:15:07 +11:00
Mitchell McCaffrey
d6b790035a
Fix unused import
2020-10-22 20:57:01 +11:00
Mitchell McCaffrey
611e7af3d9
Removed show more button for editing maps
2020-10-22 16:39:24 +11:00
Mitchell McCaffrey
f26cbf24d2
Refactored stage zooming to center on the mouse position
2020-10-22 16:10:31 +11:00
Mitchell McCaffrey
1c79032f30
Added max zoom based off of map size and normalized wheelY by window height
2020-10-22 12:51:37 +11:00
Mitchell McCaffrey
63a62391dc
Renamed radio to audio sharing
2020-10-17 16:17:38 +11:00
Mitchell McCaffrey
e9e7794027
Added token preview to edit token modal and refactored Grid from Map Grid
2020-10-17 10:45:59 +11:00
Mitchell McCaffrey
0235bdb7ef
Added keyboard shortcuts hints to map controls
2020-10-17 09:37:39 +11:00
Mitchell McCaffrey
5b9cabf532
Moved donate modal to its own route
...
Changed routes to be kebab case instead of camel case
2020-10-16 22:09:36 +11:00
Mitchell McCaffrey
1e11870171
Actually fix audio sharing volume control
2020-10-16 10:40:10 +11:00
Mitchell McCaffrey
e6d2fb5640
Fix audio sharing volume control
2020-10-16 08:25:51 +11:00
Mitchell McCaffrey
322ae03f42
Fixed input disabled visual on safari
2020-10-15 16:27:20 +11:00
Mitchell McCaffrey
9ff6053498
Fix deleting map not removing map from map view
2020-10-13 07:10:51 +11:00
Mitchell McCaffrey
266ea0d218
Added shift key scale and clamp to grid nudge
2020-10-13 06:52:26 +11:00
Mitchell McCaffrey
d73d3520fa
Added arrow key nudging to map grid editor
2020-10-10 18:31:53 +11:00
Mitchell McCaffrey
fa659bc80a
Added delete key shortcut to select maps and tokens modal
2020-10-10 15:44:07 +11:00
Mitchell McCaffrey
f7ba35ec29
Make select disabled more clear and unify input fonts
2020-10-10 12:15:46 +11:00
Mitchell McCaffrey
0f6f9f8c42
Rearranged token edit settings
2020-10-10 11:34:03 +11:00
Mitchell McCaffrey
718713b036
Added token hide in sidebar to multi select
2020-10-09 16:18:52 +11:00
Mitchell McCaffrey
bded0716fb
Fix token grid snapping y axis
2020-10-09 15:39:49 +11:00
Mitchell McCaffrey
076213fa25
Fix grid size change when grid is offset
2020-10-09 15:35:47 +11:00
Mitchell McCaffrey
1043f093cd
Fix error with grid values being set to infinity and update map grid size verification
2020-10-09 15:14:04 +11:00
Mitchell McCaffrey
e92a9acb5a
Added grid inset to map snapping
2020-10-09 14:50:51 +11:00
Mitchell McCaffrey
9314e0c609
Remove grid editor for default maps
2020-10-09 13:07:27 +11:00
Mitchell McCaffrey
f5c1cf8c98
Added checks for zero grid sizes
2020-10-09 12:57:48 +11:00
Mitchell McCaffrey
400ccc43fe
Fix grid inset ratio
2020-10-09 12:10:38 +11:00
Mitchell McCaffrey
2451f82ccc
Added grid inset translate handle and removed unused refs
2020-10-09 11:54:47 +11:00
Mitchell McCaffrey
60a163f351
Update grid inset editing to maintain aspect ratio
2020-10-09 11:23:34 +11:00
Mitchell McCaffrey
cce339224b
Added default map inset and grid size heuristic
2020-10-08 19:20:14 +11:00
Mitchell McCaffrey
90d81c90b1
Added map grid edit toggle and reset buttons
2020-10-06 20:43:25 +11:00
Mitchell McCaffrey
5f4876bb60
Adjusted grid edit rect color
2020-10-02 18:47:33 +10:00
Mitchell McCaffrey
03181c4165
Added inset to map grid
2020-10-02 18:47:20 +10:00
Mitchell McCaffrey
3e5478f7a8
Changed grid scale and offset to inset and added grid editor
2020-10-02 17:53:23 +10: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
54a60d6c76
Fix map interaction
2020-10-02 13:44:15 +10:00
Mitchell McCaffrey
f783a9bb70
Refactored konva map interaction and map image source
2020-10-02 13:35:50 +10:00
Mitchell McCaffrey
438e0c0bb3
Updated map grid to use lowest resolution for lightness detection
2020-10-02 11:15:20 +10:00
Mitchell McCaffrey
f28d1b6690
Added search and groups to token select, refactored map search and group
2020-10-01 22:32:21 +10:00
Mitchell McCaffrey
a412cbde9d
Move dice tile to use tile component and added default props to it
2020-10-01 16:25:06 +10:00
Mitchell McCaffrey
02ae9dc765
Refactored map tile and added badges option
2020-10-01 16:16:40 +10:00
Mitchell McCaffrey
3215efffa3
Added map group support
2020-10-01 15:05:30 +10:00
Mitchell McCaffrey
1938f59060
Added creatable option to Select
2020-10-01 15:04:45 +10:00
Mitchell McCaffrey
29ce562d01
Added search filtering to map select
2020-09-30 15:39:56 +10:00
Mitchell McCaffrey
27dfecf649
Split map select mode into a radio button
2020-09-30 14:10:15 +10:00
Mitchell McCaffrey
8ac4e0aec9
Added keyboard shortcuts to map select
2020-09-30 13:58:43 +10:00
Mitchell McCaffrey
b7a89a4a4a
Refactored keyboard shortcuts to be global and not dependent on map interaction
2020-09-30 13:26:39 +10:00
Mitchell McCaffrey
670f047049
Added map search UI and initial multi-select
2020-09-30 12:30:33 +10:00
Mitchell McCaffrey
78c86e6194
Added separate edit map modal and basic map viewer for it
2020-09-24 16:54:33 +10:00
Mitchell McCaffrey
2c0a01b66c
Moved to react-select for dropdowns to unify platforms
2020-09-23 16:29:15 +10:00
Mitchell McCaffrey
fb536f4cd8
Fix file not found error when switching between maps with custom tokens
2020-09-11 17:30:44 +10:00
Mitchell McCaffrey
e92c561a3a
Added automatic cache invalidation for maps and tokens
2020-09-11 16:56:40 +10:00
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
170a8072c5
Fix token label width from updating when token size changes
2020-09-08 14:31:44 +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
6ce3c3bd7e
Fixed null refrence in token drag overlay
2020-09-06 16:26:55 +10:00
Mitchell McCaffrey
b07b9ff260
Added mobile support to select dice modal and added padding to mobile modals
2020-09-06 16:24:23 +10:00
Mitchell McCaffrey
68f6860c1f
Update dice tray size calculation with full screen
2020-09-06 15:47:31 +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
9bdbb9cb4c
Fixed proxy token positioning for touch devices
2020-08-28 21:34:31 +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
8b8bfbc0f0
Fixed dice from falling through the floor when holding them
2020-08-11 20:43:01 +10:00
Mitchell McCaffrey
b94e06b5a7
Added souce map analyzer and added tree shaking to Babylon to reduce bundle size
2020-08-11 20:22:10 +10:00
Mitchell McCaffrey
1140247a3e
Added disabling of dice buttons when dice is loading
2020-08-11 18:56:56 +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
196691d839
Added your dice rolls to party if sharing enabled
2020-08-10 17:58:39 +10:00
Mitchell McCaffrey
2bf89eb273
Fix bug with dice throw not working on windows once a dice had come to rest
2020-08-07 20:56:21 +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
6b97614a60
Added a scroll to dice tray buttons for small screens
2020-08-07 10:56:06 +10:00
Mitchell McCaffrey
0012428159
Cleaned up dice controls and moved to percentage for dice result margins
2020-08-07 09:58:51 +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
56b113b8e4
Added scroll bar to party component
2020-08-06 09:54:59 +10:00
Mitchell McCaffrey
01ed7beecd
Added a show rolls function to networked dice
2020-08-05 23:14:06 +10:00
Mitchell McCaffrey
1026c44205
Fix dice tray button size on safari
2020-08-05 19:06:33 +10:00
Mitchell McCaffrey
48f39380ab
Changed stream volume slider to disable instead of hide when unavailable
2020-08-05 17:46:42 +10:00
Mitchell McCaffrey
c6c9acae3d
Added dice network replication and display for peers
2020-08-05 17:46:09 +10:00
Mitchell McCaffrey
3c49bcd6d0
Fix flicker in dice total
2020-08-05 17:05:04 +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
795f187782
Changed dice controls to be to the left of the tray instead of on top
...
Also fixed dice tray sizing for smaller screens
2020-08-05 15:10:56 +10:00
Mitchell McCaffrey
1cbd1d7e1f
Removed unused import
2020-08-05 12:30:33 +10:00
Mitchell McCaffrey
4199d7ab6a
Change the timer data structure to fix network bugs and refactored shared timer functions
2020-08-05 12:01:54 +10:00
Mitchell McCaffrey
0c1ec22234
Added animation to timer component
2020-08-05 10:49:20 +10:00
Mitchell McCaffrey
3fbfd13e27
Added visual timer component
2020-08-05 10:40:18 +10:00
Mitchell McCaffrey
6d8b0312a8
Added initial network and timer countdown
2020-08-04 17:08:42 +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