Mitchell McCaffrey
d4f8433bb1
Added brush grid snapping
2020-04-20 15:17:56 +10:00
Mitchell McCaffrey
6fb2e9f113
Changed map data grid size labelling and fixed ui labels
2020-04-20 14:49:38 +10:00
Mitchell McCaffrey
91537a9477
Fixed interactjs events from being defined multiple times
2020-04-20 13:41:11 +10:00
Mitchell McCaffrey
f5d1cdf60f
Added map control submenus for brush color and erase all
2020-04-20 11:56:56 +10:00
Mitchell McCaffrey
bc5728ffa1
Moved map tokens above drawing and fixed token interaction bug
2020-04-19 17:57:49 +10:00
Mitchell McCaffrey
e366d88f7e
Added cursor for different tools, allowed panning to work on touch while drawing
...
Stopped double tap to reset zoom while not on pan tool
2020-04-19 17:39:56 +10:00
Mitchell McCaffrey
ad236d6e6a
Added network sync to drawing
2020-04-19 15:15:48 +10:00
Mitchell McCaffrey
9f97cf3bb4
Moved to setting map transform directly instead of using state to avoid re-renders
2020-04-19 13:34:07 +10:00
Mitchell McCaffrey
24de41fee7
Added undo and redo and map control validation
2020-04-19 13:33:31 +10:00
Mitchell McCaffrey
4555c9bf71
Added basic drawing control
2020-04-19 00:24:06 +10:00
Mitchell McCaffrey
c12abf5706
Added map controls component and moved to seperate files for icons
2020-04-18 23:31:40 +10:00
Mitchell McCaffrey
e2daf1a595
Added twojs and basic map drawing
2020-04-18 18:11:21 +10:00
Mitchell McCaffrey
7b7435f55a
Add a check for map bounds in token menu
...
Removed hard coded dead zones in proxy token
2020-04-14 09:41:10 +10:00
Mitchell McCaffrey
df0054eaf6
Fix map zoom on safari and remove unneeded scroll behaviour setting
2020-04-13 10:33:49 +10:00
Mitchell McCaffrey
cb93922d59
Added initial token label
...
Added token pop up menu
Added token label
Added better token positioning
Split tokens into list and map variants
Moved size input to more generic number input
Changed game handler names to be more consistent
2020-04-13 00:24:03 +10:00
Mitchell McCaffrey
85f4a9b41b
Moved zoom bindings for the map to stop double zoom on trackpads
...
Also added toggle for overscroll behaviour when not in map
2020-04-09 18:20:10 +10:00
Mitchell McCaffrey
3bd8fce6ab
Added custom sizing support
2020-04-07 11:47:06 +10:00
Mitchell McCaffrey
c1d4e09cb3
Added a reset for the map when the source is changed
2020-03-26 15:43:52 +11:00
Mitchell McCaffrey
974e39a2e6
Fixed proxy token size being wrong on map view
2020-03-26 15:07:27 +11:00
Mitchell McCaffrey
7c07caa70d
Fixed layout and interaction for mobile
2020-03-26 14:53:02 +11:00
Mitchell McCaffrey
4e94567f52
Fixed error in map
2020-03-26 13:26:20 +11:00
Mitchell McCaffrey
91c7c9f9ad
Added pan and zoom to map
2020-03-20 21:46:52 +11:00
Mitchell McCaffrey
8b412ad482
Moved change map button to map component and centered it
2020-03-20 18:06:24 +11:00
Mitchell McCaffrey
33ea19fef6
Moved tokens to be relatively positioned and scaled to the current map
2020-03-20 17:56:34 +11:00
Mitchell McCaffrey
82d750eca7
Added token moving and removing on map
2020-03-20 13:33:12 +11:00
Mitchell McCaffrey
81d311eb7f
Added token dragging from side bar into map view
2020-03-20 11:05:40 +11:00
Mitchell McCaffrey
05cf20fe8b
Added styling
...
co-authored-by: nthouliss <nthouliss@gmail.com >
2020-03-19 17:33:57 +11:00