Commit Graph

1105 Commits

Author SHA1 Message Date
Mitchell McCaffrey
8a9c50f44c Fix circle gesture on non square images 2020-04-21 20:06:52 +10:00
Mitchell McCaffrey
0e8e4a45d5 Added check for null gesture 2020-04-21 20:03:56 +10:00
Mitchell McCaffrey
96efcfd5de Fix bug with concurrent token updates 2020-04-21 18:01:45 +10:00
Mitchell McCaffrey
3c204377d6 Added a new method for calculating the gesture triangle shape
and moved gesture data to a separate file
2020-04-21 17:05:38 +10:00
Mitchell McCaffrey
8f1bcf3806 Added more training data for gesture recognizer 2020-04-21 13:31:55 +10:00
Mitchell McCaffrey
ce1a252b2e Moved to a more compact representation of other gesture shapes in the shape data
Also renamed square to rectangle
2020-04-21 10:04:26 +10:00
Mitchell McCaffrey
a5011b58ac Added aria-labels to color pickers 2020-04-20 23:54:07 +10:00
Mitchell McCaffrey
d2474ae198 Added brush blending and brush gesture options 2020-04-20 23:52:21 +10:00
Mitchell McCaffrey
36c3e76403 Moved map controls again 2020-04-20 17:30:59 +10:00
Mitchell McCaffrey
06d232f058 Move map menu from right side a little 2020-04-20 17:28:30 +10:00
Mitchell McCaffrey
0a1aed30b3 Fixed a possible bug with callbacks and map menus
also made it so clicking on a map control button with a sub menu open will close it
2020-04-20 17:25:40 +10:00
Mitchell McCaffrey
35523fd8ce Fix grid off and on icons not being selectable 2020-04-20 16:45:33 +10:00
Mitchell McCaffrey
0b7c8d6c56 Added map grid size detection from file name 2020-04-20 16:34:38 +10:00
Mitchell McCaffrey
eeaa250ca2 Added background color to menu to make it easier to see on a light background 2020-04-20 15:47:52 +10:00
Mitchell McCaffrey
06f5d3ab42 Added auto switch away from a disabled tool 2020-04-20 15:31:54 +10:00
Mitchell McCaffrey
77df9b6f35 Added icon to erase all submenu 2020-04-20 15:26:36 +10:00
Mitchell McCaffrey
5fa143293c Fix grid off icon name 2020-04-20 15:20:09 +10:00
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
91c95b4fad Added prevention from drawing single point shapes 2020-04-20 13:03:54 +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
27d3903e66 Refactored token menu overlay into two components 2020-04-20 10:56:51 +10:00
Mitchell McCaffrey
ef369f4866 Added more color options to map colors 2020-04-20 10:40:53 +10:00
Mitchell McCaffrey
3922d1f474 Moved status color helper to general color helper 2020-04-20 10:28:40 +10:00
Mitchell McCaffrey
aa36ad9463 Moved to tap event for token menu popup 2020-04-19 18:46:10 +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
04e4bf3f29 Added touch support for map drawing 2020-04-19 17:39:26 +10:00
Mitchell McCaffrey
16cca15872 Fix equal oparator 2020-04-19 17:38:03 +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
1f20959940 Moved to loading stripe dynamically to prevent it tracking without opening the donation modal 2020-04-19 10:35:36 +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
ecaf82fd53 Added point simplification with simplify-js 2020-04-18 19:09:48 +10:00
Mitchell McCaffrey
f472f03616 Removed twojs as I wasnt really using it anyway 2020-04-18 18:54:13 +10:00
Mitchell McCaffrey
e2daf1a595 Added twojs and basic map drawing 2020-04-18 18:11:21 +10:00
Mitchell McCaffrey
393656eb89 Bump version 2020-04-15 22:08:56 +10:00
Mitchell McCaffrey
03d0c4a0fe Add autofocus to start modal 2020-04-15 22:08:24 +10:00
Mitchell McCaffrey
b76a70ca81 Fix bug with dropping empty map 2020-04-15 21:57:18 +10:00
Mitchell McCaffrey
279d83122f Added drag and drop support to map upload 2020-04-15 21:15:16 +10:00
Mitchell McCaffrey
64f284ebb7 Added nickname to local storage 2020-04-15 20:18:59 +10:00
Mitchell McCaffrey
16ba3c3a63 Removed unused import 2020-04-15 12:52:26 +10:00
Mitchell McCaffrey
0c2296990f Bump version 2020-04-15 12:51:48 +10:00
Mitchell McCaffrey
0015144d1a Added stripe integration and donation modal 2020-04-15 12:51:03 +10:00
Mitchell McCaffrey
d662f5e107 Fix error if a modal is shown on page load 2020-04-15 12:50:21 +10:00
Mitchell McCaffrey
0a6198a8cc Updated theme for secondary button 2020-04-15 12:49:56 +10:00
Mitchell McCaffrey
a3b32adbdd Added padding to banner to stop X from overlapping text 2020-04-15 12:48:46 +10:00