Mitchell McCaffrey
|
ae98b54c7b
|
Fix drawings being erased when drawing tool not selected
|
2021-01-02 09:17:56 +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
|
84af4c5845
|
Removed unused props from map drawing and fog
|
2020-11-03 16:38:26 +11:00 |
|
Mitchell McCaffrey
|
9c1960ba71
|
Refactored getBrushPosition helper
|
2020-11-03 16:20:51 +11: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
|
76cad29f2b
|
Added snap to grid option to map settings
|
2020-08-07 12:28:50 +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
|
cac2af1608
|
Added line tool
|
2020-06-25 08:47:53 +10:00 |
|
Mitchell McCaffrey
|
9a4d047cd5
|
Moved back to drag events for map and fog drawing
Moved to an event driven model for dragging
|
2020-06-24 09:27:20 +10:00 |
|
Mitchell McCaffrey
|
0bec582116
|
Moved drawing to use native konva events
|
2020-06-21 16:29:42 +10:00 |
|
Mitchell McCaffrey
|
3ba7c8809c
|
Moved drawing tools into one section
|
2020-06-21 11:01:03 +10:00 |
|
Mitchell McCaffrey
|
aa4ba33a0b
|
Added fog polygon tool and changed fog interaction method
|
2020-06-19 18:04:58 +10:00 |
|
Mitchell McCaffrey
|
337a769fe4
|
Changed map and fog erase to allow for multi item selection
|
2020-05-31 12:12:16 +10:00 |
|
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
|
a91f2c6d39
|
Added tap events for map interaction
|
2020-05-22 23:55:50 +10:00 |
|
Mitchell McCaffrey
|
d26932d17c
|
Added back map drawing
|
2020-05-22 13:47:11 +10:00 |
|
Mitchell McCaffrey
|
5357b79e70
|
Added fog toggle
|
2020-04-29 20:40:34 +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
|
3e5a80e7d1
|
Fixed shape drawing on different aspect ratio images
|
2020-04-29 11:04:33 +10:00 |
|
Mitchell McCaffrey
|
6e48d7d4e2
|
Fix drawing erase while on controls and brush type switch bug
|
2020-04-29 09:25:56 +10:00 |
|
Mitchell McCaffrey
|
5e2c178118
|
Separated map drawing and map fog into separate action lists
|
2020-04-28 22:05:47 +10:00 |
|
Mitchell McCaffrey
|
b34a7df443
|
Added fog edge snapping
|
2020-04-28 17:04:31 +10:00 |
|
Mitchell McCaffrey
|
b3bf3c3598
|
Made grid snapping have a threshold and removed the option to toggle it on and off
|
2020-04-28 11:31:01 +10:00 |
|
Mitchell McCaffrey
|
734b966a53
|
Moved drawing functions into the drawing helper
|
2020-04-28 11:04:54 +10:00 |
|
Mitchell McCaffrey
|
581ddf12aa
|
Added smoothing to path drawing
|
2020-04-28 10:33:09 +10:00 |
|
Mitchell McCaffrey
|
c3ed55e5e8
|
Fixed erase for stroked paths
|
2020-04-28 10:14:45 +10:00 |
|
Mitchell McCaffrey
|
81f84d8a19
|
Added shape drawing and more vector helper functions
|
2020-04-27 21:39:21 +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 |
|
Mitchell McCaffrey
|
f2a92f2ccd
|
Refactored component folder structure to be a little clearer
|
2020-04-23 10:09:12 +10:00 |
|