Commit Graph

13 Commits

Author SHA1 Message Date
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
5f2d282df8 Added pinch to zoom for map 2020-05-22 23:43:55 +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
5b70f69fb7 Moved map and map tokens to Konva 2020-05-21 16:46:50 +10:00
Mitchell McCaffrey
1774b459dc Changed map zooming to always zoom to center of screen and not map 2020-05-18 21:52:46 +10:00
Mitchell McCaffrey
86450a04db Added loading spinner to map load 2020-04-30 22:08:03 +10:00
Mitchell McCaffrey
8c304c76e5 Adjusted map zoom speed 2020-04-30 16:16:12 +10:00
Mitchell McCaffrey
c0d04ea6fa Added normalization to the map mouse zoom 2020-04-30 15:45:20 +10:00
Mitchell McCaffrey
9975f564fa Added map context to scale simplification by map scale
Added distance to quadratic functions to vector
2020-04-29 18:21:44 +10:00
Mitchell McCaffrey
e08dc60f5f Cleaned map interaction props and changed drawing interaction handle 2020-04-27 17:40:36 +10:00
Mitchell McCaffrey
2cf93ab77f Added UI elements for the new drawing system
Removed old gesture system
Refactored map interaction into separate component
2020-04-27 17:29:46 +10:00