Commit Graph

43 Commits

Author SHA1 Message Date
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
abf75f1566 Added smoothing to freehand fog 2020-04-29 09:42:58 +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
aac11790e2 Added stop progagation to map controls to stop drawing empty shapes 2020-04-28 22:06:20 +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
c73b099567 Re-added grid settings to fog tools 2020-04-28 17:03:17 +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
3112890fd3 Fixed settings update delay 2020-04-26 20:48:01 +10:00
Mitchell McCaffrey
079f3704d4 Fix performance issues with settings map name change 2020-04-26 19:45:36 +10:00
Mitchell McCaffrey
f371a62a04 Fix memory async error with map tile double click and default map selection bug 2020-04-26 19:22:30 +10:00
Mitchell McCaffrey
29f13262ff Adjusted spacing on map settings 2020-04-26 19:21:44 +10:00
Mitchell McCaffrey
adfd5b07a3 Removed unused import 2020-04-26 19:21:25 +10:00
Mitchell McCaffrey
4f5f4706c6 Added light theme 2020-04-26 19:04:18 +10:00
Mitchell McCaffrey
506f0287ab Fix map controls divider 2020-04-26 19:03:57 +10:00
Mitchell McCaffrey
b691842a21 Fixed key issue with fragment 2020-04-26 18:33:28 +10:00
Mitchell McCaffrey
297669173a Added a show more toggle to map settings 2020-04-26 17:25:04 +10:00
Mitchell McCaffrey
a07b95ec2d reload maps every time the select map modal is opened 2020-04-26 17:12:15 +10:00
Mitchell McCaffrey
fbdb68596e Added permissions functionality 2020-04-26 14:34:27 +10:00
Mitchell McCaffrey
4c65aac189 Added map name and map state edit flags to map settings 2020-04-26 13:47:54 +10:00
Mitchell McCaffrey
010d637e0e Refactored map settings 2020-04-26 12:57:36 +10:00
Mitchell McCaffrey
30e4a4c73f Added name display to tile 2020-04-26 12:39:56 +10:00
Mitchell McCaffrey
6e8cb833aa Moved map tiles to simple scroll 2020-04-25 00:42:23 +10:00
Mitchell McCaffrey
ece974c5d9 Split tokens into data and state to avoid data duplication 2020-04-24 18:39:11 +10:00
Mitchell McCaffrey
a4e1a898ad Send a map clear before replace to ensure new state isn't show on old image 2020-04-24 16:18:48 +10:00
Mitchell McCaffrey
ed8f3bd283 Moved maps and tokens to a data source model
This will allow for easier custom token support as well as changing default tokens
2020-04-24 15:50:05 +10:00
Mitchell McCaffrey
98798235c9 Added quick map select with double click 2020-04-23 22:12:50 +10:00
Mitchell McCaffrey
5539fcf16a Fix selectMapButton name and a bug with deleting a map that isn't the current one 2020-04-23 21:54:58 +10:00
Mitchell McCaffrey
10c259a6b3 Added state to default maps and added clear state option to map tile 2020-04-23 20:32:33 +10:00
Mitchell McCaffrey
6f0df1c674 Made the add map icon larger and changed to select map 2020-04-23 18:01:40 +10:00
Mitchell McCaffrey
25b215d4e4 Added map state to the database 2020-04-23 17:23:34 +10:00
Mitchell McCaffrey
071cd3ea7f Added an indexedb database to store uploaded maps into 2020-04-23 15:02:03 +10:00
Mitchell McCaffrey
8681864ddc Added sending of default maps 2020-04-23 13:31:54 +10:00
Mitchell McCaffrey
22c5b5cf75 Added multiple map layout and basic data flow 2020-04-23 11:54:29 +10:00
Mitchell McCaffrey
f2a92f2ccd Refactored component folder structure to be a little clearer 2020-04-23 10:09:12 +10:00