Commit Graph
256 Commits
Author SHA1 Message Date
Mitchell McCaffrey f5c1cf8c98 Added checks for zero grid sizes 2020-10-09 12:57:48 +11:00
Mitchell McCaffrey 400ccc43fe Fix grid inset ratio 2020-10-09 12:10:38 +11:00
Mitchell McCaffrey 2451f82ccc Added grid inset translate handle and removed unused refs 2020-10-09 11:54:47 +11:00
Mitchell McCaffrey 60a163f351 Update grid inset editing to maintain aspect ratio 2020-10-09 11:23:34 +11:00
Mitchell McCaffrey cce339224b Added default map inset and grid size heuristic 2020-10-08 19:20:14 +11:00
Mitchell McCaffrey 90d81c90b1 Added map grid edit toggle and reset buttons 2020-10-06 20:43:25 +11:00
Mitchell McCaffrey 5f4876bb60 Adjusted grid edit rect color 2020-10-02 18:47:33 +10:00
Mitchell McCaffrey 03181c4165 Added inset to map grid 2020-10-02 18:47:20 +10:00
Mitchell McCaffrey 3e5478f7a8 Changed grid scale and offset to inset and added grid editor 2020-10-02 17:53:23 +10:00
Mitchell McCaffrey 539f216cfe Added grid scale and offset to maps and refactored into grid object 2020-10-02 15:19:10 +10:00
Mitchell McCaffrey 54a60d6c76 Fix map interaction 2020-10-02 13:44:15 +10:00
Mitchell McCaffrey f783a9bb70 Refactored konva map interaction and map image source 2020-10-02 13:35:50 +10:00
Mitchell McCaffrey 438e0c0bb3 Updated map grid to use lowest resolution for lightness detection 2020-10-02 11:15:20 +10:00
Mitchell McCaffrey f28d1b6690 Added search and groups to token select, refactored map search and group 2020-10-01 22:32:21 +10:00
Mitchell McCaffrey a412cbde9d Move dice tile to use tile component and added default props to it 2020-10-01 16:25:06 +10:00
Mitchell McCaffrey 02ae9dc765 Refactored map tile and added badges option 2020-10-01 16:16:40 +10:00
Mitchell McCaffrey 3215efffa3 Added map group support 2020-10-01 15:05:30 +10:00
Mitchell McCaffrey 1938f59060 Added creatable option to Select 2020-10-01 15:04:45 +10:00
Mitchell McCaffrey 29ce562d01 Added search filtering to map select 2020-09-30 15:39:56 +10:00
Mitchell McCaffrey 27dfecf649 Split map select mode into a radio button 2020-09-30 14:10:15 +10:00
Mitchell McCaffrey 8ac4e0aec9 Added keyboard shortcuts to map select 2020-09-30 13:58:43 +10:00
Mitchell McCaffrey b7a89a4a4a Refactored keyboard shortcuts to be global and not dependent on map interaction 2020-09-30 13:26:39 +10:00
Mitchell McCaffrey 670f047049 Added map search UI and initial multi-select 2020-09-30 12:30:33 +10:00
Mitchell McCaffrey 78c86e6194 Added separate edit map modal and basic map viewer for it 2020-09-24 16:54:33 +10:00
Mitchell McCaffrey 2c0a01b66c Moved to react-select for dropdowns to unify platforms 2020-09-23 16:29:15 +10:00
Mitchell McCaffrey fb536f4cd8 Fix file not found error when switching between maps with custom tokens 2020-09-11 17:30:44 +10:00
Mitchell McCaffrey 529fd2caae Fixed bug that caused a crash when a map was deleted with unsaved changes 2020-09-11 11:24:25 +10:00
Mitchell McCaffrey 73180ee1cd Added token label size setting 2020-09-08 15:06:15 +10:00
Mitchell McCaffrey 36351efb82 Fix select tile flow for odd number of elements 2020-09-08 14:26:38 +10:00
Mitchell McCaffrey 7aed345baf Fixed alignment of map expand button 2020-09-08 12:34:03 +10:00
Mitchell McCaffrey 3f5bd7f659 Added wheel normalization to fix zoom on windows firefox 2020-09-06 16:57:42 +10:00
Mitchell McCaffrey 58cb92d432 Added full screen button 2020-09-06 15:18:05 +10:00
Mitchell McCaffrey 24a3387b51 Added scaling to map and token select for small screens 2020-09-06 13:20:05 +10:00
Mitchell McCaffrey 4edbac5408 Moved token lock click detect to time differece as it generalises easier to touch 2020-08-28 17:27:19 +10:00
Mitchell McCaffrey b4e52ebb23 Fixed 2 bugs with map loading and sending
When a map was sent the receiver didn't save the resolutions tihs meant that if the original map owner left or wasn't the party leader the map would be blank when new users joined. Also if a map sender left when sending a map and rejoined their version of the map would be overriden by a corrupted version.
2020-08-28 17:06:13 +10:00
Mitchell McCaffrey 7f7471b1e9 Fix sorting bug when dragging token from tokens list 2020-08-28 15:17:52 +10:00
Mitchell McCaffrey 9bc69a18e8 Fix proxy token drop being off on different zoom factors 2020-08-28 15:13:41 +10:00
Mitchell McCaffrey 3c27f65d0f Added token category option 2020-08-27 19:09:16 +10:00
Mitchell McCaffrey a912163079 Fix vehicles moving locked tokens 2020-08-27 17:58:41 +10:00
Mitchell McCaffrey b26a89f8ca Added token sorted based off of last modified 2020-08-27 17:56:59 +10:00
Mitchell McCaffrey 9ab584cbe7 Added lock and visibility options to tokens 2020-08-27 17:30:17 +10:00
Mitchell McCaffrey f9c1ec2d9b Fixed bug with map state being would be wrongly synced to party members 2020-08-11 18:48:48 +10:00
Mitchell McCaffrey f8c9588893 Increased token snapping threshold 2020-08-10 21:53:43 +10:00
Mitchell McCaffrey 602631f9b1 Added a saved settings system that uses localstorage and versioning 2020-08-07 17:15:16 +10:00
Mitchell McCaffrey fd9659db98 Added shortcut for fog toggle 2020-08-07 14:10:37 +10: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 239f377aef Changed map and token select number inputs to not prepend a 0 when typing numbers 2020-08-07 13:56:03 +10:00
Mitchell McCaffrey 5dc338471d Added shortcut to pointer tool 2020-08-07 13:39:23 +10:00
Mitchell McCaffrey 91d5298ac6 Changed token snapping threshold 2020-08-07 13:35:47 +10:00
Mitchell McCaffrey 548ec5f09a Added grid snapping to map tokens 2020-08-07 12:55:16 +10:00