Commit Graph

1579 Commits

Author SHA1 Message Date
Mitchell McCaffrey
f989ae0435 Add cursor change to selection 2021-08-10 07:54:56 +10:00
Mitchell McCaffrey
fdc4aba009 Fix issue with drag and drop breaking when dragging token bar token group 2021-08-10 06:56:45 +10:00
Mitchell McCaffrey
29bf7ee36b Fix group rename not working 2021-08-07 10:29:45 +10:00
Mitchell McCaffrey
37405cac60 Fix issue with drag and drop tokens from a url not loading 2021-08-07 10:19:31 +10:00
Mitchell McCaffrey
81cc2c514f Add initial 1.10.0 release notes 2021-08-06 15:10:15 +10:00
Mitchell McCaffrey
aa36587a53 Add better clipboard api support detection 2021-08-06 14:24:35 +10:00
Mitchell McCaffrey
d691105fcb Fix bug with selecting empty note 2021-08-06 13:34:54 +10:00
Mitchell McCaffrey
5948b45b72 Add fallback for copy paste API when unavailable 2021-08-06 13:02:44 +10:00
Mitchell McCaffrey
1182c9fe1e Add konva portal for transformer controls 2021-08-06 12:24:23 +10:00
Mitchell McCaffrey
6e7794c38e Update vehicles to move attachments 2021-08-06 12:13:24 +10:00
Mitchell McCaffrey
d6d8ee2f11 Add alt drag duplicate shortcut for tokens, notes and selection 2021-08-06 12:04:22 +10:00
Mitchell McCaffrey
27bcc127bc Add shape fill option to drawings 2021-08-06 10:12:30 +10:00
Mitchell McCaffrey
cbaf23cd09 Fix custom transformer handles from not appearing when loading slower 2021-08-06 09:18:25 +10:00
Mitchell McCaffrey
729705b86b Fix emoji scale being blurred for notes 2021-08-06 08:48:54 +10:00
Mitchell McCaffrey
afd9f2d30a Adjust token attachment size to be resolution independent 2021-08-06 08:34:27 +10:00
Mitchell McCaffrey
b300418d78 Change map state drawShapes and fogShapes name 2021-08-06 08:21:19 +10:00
Mitchell McCaffrey
d1e62e850a Add transformer to note 2021-08-05 16:24:46 +10:00
Mitchell McCaffrey
59d46e1d27 Separated prop tokens from tokens to render below drawings and notes 2021-08-05 15:17:10 +10:00
Mitchell McCaffrey
26f91dbb8f Fix token menu appearing on drag of locked token 2021-08-05 14:59:40 +10:00
Mitchell McCaffrey
4ca9353cd9 Increase key emitter max listeners 2021-08-05 14:51:07 +10:00
Mitchell McCaffrey
9e2d09cafd Adhere to map grid snapping settings for select tool 2021-08-05 14:47:00 +10:00
Mitchell McCaffrey
17defb0aec Updated select tool to take edit permissions into account 2021-08-05 14:36:57 +10:00
Mitchell McCaffrey
e044a7cd4b Change select tool shortcut 2021-08-05 14:14:47 +10:00
Mitchell McCaffrey
de1faa00df Prevent dragging of selected locked nodes 2021-08-05 14:10:15 +10:00
Mitchell McCaffrey
728790f73c Fix line drawings from not being selectable 2021-08-05 13:56:24 +10:00
Mitchell McCaffrey
0006bcdfa6 Cleanup drawing points conversion 2021-08-05 13:56:04 +10:00
Mitchell McCaffrey
7db02fa492 Add token category to token menu 2021-08-05 13:30:03 +10:00
Mitchell McCaffrey
73c549102b Add attachment token category 2021-08-05 11:56:40 +10:00
Mitchell McCaffrey
6eb1f71bc2 Add shortcut for disabling grid snapping 2021-08-04 08:32:27 +10:00
Mitchell McCaffrey
9e5eb9d258 Fix locked tokens being selected in tools other than the move tool 2021-08-04 07:42:36 +10:00
Mitchell McCaffrey
3ad726f5ad Adjust token menu to not hide rotation handle at 180deg 2021-08-04 07:32:13 +10:00
Mitchell McCaffrey
07b9f8f621 Hide transform controls when locked 2021-08-04 07:23:40 +10:00
Mitchell McCaffrey
879a23f81a Fix resize size for hex grids 2021-08-04 07:20:30 +10:00
Mitchell McCaffrey
518f6b3e5b Move grid to konva folder 2021-08-04 07:00:15 +10:00
Mitchell McCaffrey
e22037bd74 Add text tag to transformer showing current value 2021-08-03 18:23:51 +10:00
Mitchell McCaffrey
c12698d007 Change selection scale to use non-debounced version 2021-08-03 08:46:30 +10:00
Mitchell McCaffrey
e5747235b4 Refactor ruler out of measure tool 2021-08-03 08:31:40 +10:00
Mitchell McCaffrey
cef4844ea9 Close token menu when transforming 2021-08-03 08:18:12 +10:00
Mitchell McCaffrey
98d9b526c8 Add custom anchors for transformer 2021-08-01 21:00:48 +10:00
Mitchell McCaffrey
0b2f9593c2 Add snapping to transformer 2021-08-01 18:05:57 +10:00
Mitchell McCaffrey
8c9aca0259 Update Map.ts 2021-08-01 16:58:32 +10:00
Mitchell McCaffrey
df1e59f666 Add custom transformer 2021-07-25 13:48:50 +10:00
Mitchell McCaffrey
97f1294a23 Merge branch 'master' into test/1.10.0 2021-07-24 18:04:58 +10:00
Mitchell McCaffrey
fdefd907e3 Update asset live query to use bulkGet to fix crash on private browsing Firefox 2021-07-23 18:51:51 +10:00
Mitchell McCaffrey
7529b1b8c8 Remove success toast for selection paste 2021-07-23 15:53:29 +10:00
Mitchell McCaffrey
23dd67c1a9 Add selection copy paste shortcuts 2021-07-23 15:53:13 +10:00
Mitchell McCaffrey
b3fc7f9e1d Clear selection when changing maps 2021-07-23 15:43:32 +10:00
Mitchell McCaffrey
5546bf525e Add selection copy and paste 2021-07-23 15:41:07 +10:00
Mitchell McCaffrey
1b248c16a5 Add selection validator and fix outline and vector exports 2021-07-23 15:40:01 +10:00
Mitchell McCaffrey
add88abb95 Move map menu to auto close on drag instead of mouse down 2021-07-23 15:39:31 +10:00
Mitchell McCaffrey
e3a2cc766c Add schema validators for map state 2021-07-23 12:45:07 +10:00
Mitchell McCaffrey
ed64294855 Add selection drag overlay 2021-07-22 16:40:43 +10:00
Mitchell McCaffrey
19139dec82 Remove need to pass node into drag overlay 2021-07-22 16:40:33 +10:00
Mitchell McCaffrey
93ce4bab0e Add grid snapping to selection items movement 2021-07-22 16:16:09 +10:00
Mitchell McCaffrey
1043eac3ab Change default select tool to rect 2021-07-22 16:05:54 +10:00
Mitchell McCaffrey
60760e3d8e Fix selection menu position with offset 2021-07-22 16:00:04 +10:00
Mitchell McCaffrey
4ac4c3aa33 Clicking selection reopens menu 2021-07-22 15:59:46 +10:00
Mitchell McCaffrey
ac4ca5b364 Deselect when changing tools 2021-07-22 15:24:35 +10:00
Mitchell McCaffrey
543fe6f941 Add check for selected items visible and locked properties 2021-07-22 15:21:36 +10:00
Mitchell McCaffrey
7860871e7e Fix deselection for path selection 2021-07-22 15:10:42 +10:00
Mitchell McCaffrey
986f1efc9b Add basic selection menu 2021-07-22 13:16:44 +10:00
Mitchell McCaffrey
648d308fa5 Add dash animation to selection and change deselect behaviour 2021-07-22 12:10:56 +10:00
Mitchell McCaffrey
4cee11d5ea Add basic selection movement 2021-07-21 18:56:18 +10:00
Mitchell McCaffrey
20f48f173e Move edit controls into map controls and add keyboard undo shortcuts 2021-07-21 17:12:49 +10:00
Mitchell McCaffrey
6d5293eeee Move token/note crud operations to use actions 2021-07-21 08:27:28 +10:00
Mitchell McCaffrey
ef55f9c3a5 Refactor map actions into hook 2021-07-21 08:08:58 +10:00
Mitchell McCaffrey
54bc3502df Move to global undo and combined map action state 2021-07-20 21:45:18 +10:00
Mitchell McCaffrey
b703a08d2c Refactor control components file structure 2021-07-20 20:41:26 +10:00
Mitchell McCaffrey
24dddad66f Update token state and note events to be more similar 2021-07-20 20:17:41 +10:00
Mitchell McCaffrey
fe8e4387c6 Rename token create and remove handlers 2021-07-20 18:53:03 +10:00
Mitchell McCaffrey
eb5999bd03 Update select tool cursor 2021-07-20 18:50:15 +10:00
Mitchell McCaffrey
7a2c852ea9 Update select tool title 2021-07-20 18:50:03 +10:00
Mitchell McCaffrey
df81def622 Update select icons 2021-07-19 15:48:38 +10:00
Mitchell McCaffrey
fa62783b9c Refactor konva components and map tools 2021-07-19 15:28:09 +10:00
Mitchell McCaffrey
fa2190dd7d Added basic selection visual 2021-07-19 11:37:41 +10:00
Mitchell McCaffrey
07058db9c2 Fix UI issue with pressing space with move tool selected 2021-07-19 11:01:45 +10:00
Mitchell McCaffrey
621014bff2 Add select tool settings and icons 2021-07-19 10:56:14 +10:00
Mitchell McCaffrey
0113b07ac4 Fix dice roll calculation 2021-07-18 09:50:50 +10:00
Mitchell McCaffrey
4983ddbc17 Remove primary colour from colour options 2021-07-18 09:42:07 +10:00
Mitchell McCaffrey
1141dcf554 Fix default colour theme using system colour 2021-07-18 09:27:45 +10:00
Mitchell McCaffrey
e3d757ac42 Fix network state default sync value 2021-07-18 09:13:28 +10:00
Mitchell McCaffrey
3dfb1186f9 Move nickname generation to db populate 2021-07-18 09:13:10 +10:00
Mitchell McCaffrey
ac99c9af4a Change debounce return to be optional 2021-07-18 09:12:32 +10:00
Mitchell McCaffrey
830798dc74 Add missing types to party 2021-07-18 09:12:09 +10:00
Mitchell McCaffrey
a6a233542e Check for divide by zero in grid 2021-07-18 08:40:44 +10:00
Mitchell McCaffrey
8e8e800760 Fix resize detector sizes 2021-07-17 20:37:09 +10:00
Mitchell McCaffrey
029a992381 Typescript 2021-07-17 18:39:49 +10:00
Mitchell McCaffrey
a4363e542c Typescript 2021-07-17 18:18:57 +10:00
Mitchell McCaffrey
2a053f4854 Typescript 2021-07-17 17:25:41 +10:00
Mitchell McCaffrey
97734a2f55 Typescript 2021-07-17 14:36:39 +10:00
Mitchell McCaffrey
fecf8090ea Typescript 2021-07-17 12:48:04 +10:00
Mitchell McCaffrey
e48d19a817 Typescript 2021-07-16 21:39:45 +10:00
Mitchell McCaffrey
74cabdd798 Merge branch 'master' into typescript 2021-07-16 20:58:09 +10:00
Mitchell McCaffrey
01eabcef3d Typescript 2021-07-16 20:57:05 +10:00
Mitchell McCaffrey
a1fb67df7b Typescript 2021-07-16 18:59:29 +10:00
Mitchell McCaffrey
2ce9d2dd08 Typescript 2021-07-16 17:31:55 +10:00
Mitchell McCaffrey
adb5f3bd16 Typescript 2021-07-16 17:20:05 +10:00
Mitchell McCaffrey
c7b8990a7b Typescript 2021-07-16 16:58:14 +10:00
Mitchell McCaffrey
d80bfa2f1e typescript 2021-07-16 14:55:33 +10:00
Mitchell McCaffrey
3aace97004 Fix grid pattern offset for Konva v8 2021-07-16 10:06:35 +10:00
Mitchell McCaffrey
838ee68614 Change vehicle mount movement method to fix bug with child position not updating 2021-07-16 09:44:19 +10:00
Mitchell McCaffrey
68c1c6db0c Typescript 2021-07-13 18:50:18 +10:00
Mitchell McCaffrey
569ed696fc Typescript 2021-07-13 08:59:28 +10:00
Mitchell McCaffrey
49b8caa2d7 Add type to controls and change colour types 2021-07-09 22:06:32 +10:00
Mitchell McCaffrey
72b6994a2e Convert image drop to typescript 2021-07-09 17:19:00 +10:00
Mitchell McCaffrey
f6d695a48a Move general components to typescript 2021-07-09 16:58:32 +10:00
Mitchell McCaffrey
ecfab87aa0 More typescript 2021-07-09 16:22:35 +10:00
Mitchell McCaffrey
45a4443dd1 Add standalone type definitions 2021-07-08 12:01:02 +10:00
Mitchell McCaffrey
123ebd880a Format 2021-07-08 12:00:47 +10:00
Mitchell McCaffrey
73f0667ca2 Fix crash on dice pickup with low frame rates 2021-07-06 08:20:01 +10:00
Mitchell McCaffrey
629a4ad7eb Enable fixed physics update to prevent issues with low frame rates 2021-07-06 08:19:31 +10:00
Mitchell McCaffrey
a8b61f0223 Update react-spring to prevent issues with Firefox resistFingerprinting 2021-07-06 08:18:29 +10:00
Mitchell McCaffrey
62686136ab Merge branch 'master' into typescript 2021-07-02 15:54:54 +10:00
Mitchell McCaffrey
b28896db12 Fix bug with groups not being removed when deleting 2021-07-01 11:24:55 +10:00
Mitchell McCaffrey
4bdf147e2b Change clear cache function to not load all assets into memory 2021-06-28 08:25:54 +10:00
Mitchell McCaffrey
b7793626cf Fix database error not showing the right message 2021-06-28 08:24:48 +10:00
Mitchell McCaffrey
cd826595cd Fix asset context asset undefined 2021-06-27 15:33:56 +10:00
Mitchell McCaffrey
70cb5f8f89 Fix token bar undefined reference 2021-06-27 15:33:25 +10:00
Mitchell McCaffrey
6e164e7f83 Move import handler to use a transaction and add error message for missing assets 2021-06-27 15:16:07 +10:00
Mitchell McCaffrey
22c4b7ef57 Add database closed error to sentry ignore 2021-06-27 15:14:42 +10:00
Mitchell McCaffrey
72135b22be Use instanceof for database error handling 2021-06-27 15:14:26 +10:00
Mitchell McCaffrey
0bbfc4cdc3 Move to broadcast channel check for worker put asset 2021-06-27 15:13:45 +10:00
Mitchell McCaffrey
ab9cc9e148 Update asset context to reduce database calls 2021-06-26 18:22:20 +10:00
Mitchell McCaffrey
33d512e7b8 Update upgrade.js 2021-06-25 21:29:03 +10:00
Mitchell McCaffrey
9d587cb2b1 Fix bug with imported assets not getting assigned ownership 2021-06-25 20:54:29 +10:00
Mitchell McCaffrey
90aa43dbf0 Fix bug with cleaned up assets not reloading 2021-06-25 20:54:29 +10:00
Mitchell McCaffrey
8b1d208a72 Fix maps not loading in safari 2021-06-25 20:54:29 +10:00
Mitchell McCaffrey
cb48e6f946 Fix assets not showing up to players without a refresh 2021-06-25 20:54:29 +10:00
Mitchell McCaffrey
d8bad36443 Chunk 1.9.0 db upgrade and remove observable tables 2021-06-25 20:54:29 +10:00
Mitchell McCaffrey
3b8565ad54 Replace dexie observable with useLiveQuery 2021-06-25 20:54:29 +10:00
Mitchell McCaffrey
45ce2685c6 Add console error to import 2021-06-25 20:54:29 +10:00
Mitchell McCaffrey
097df533dd Remove unused variable 2021-06-25 20:54:29 +10:00
Mitchell McCaffrey
d970572c3f Update upgrade.js 2021-06-24 21:45:13 +10:00
Mitchell McCaffrey
1d1d36ecdc Update upgrade.js 2021-06-24 19:14:15 +10:00
Mitchell McCaffrey
94116abaf0 Fix error in db upgrade 2021-06-24 18:58:31 +10:00
Mitchell McCaffrey
491bd8c467 Update 1.9.0 social links 2021-06-24 18:53:15 +10:00
Mitchell McCaffrey
3b731998a0 Update release notes 1.9.0 YouTube video 2021-06-24 18:25:26 +10:00
Mitchell McCaffrey
72f2c74e9d Add on upgrade listener for DB and overlay when upgrading 2021-06-24 16:14:20 +10:00
Mitchell McCaffrey
110a6bdd1f Add shuffle helper 2021-06-24 16:13:48 +10:00
Mitchell McCaffrey
23662e9fa1 Add children option to loading overlay 2021-06-24 16:13:29 +10:00
Mitchell McCaffrey
6dfeb874a7 Handle db versionchange 2021-06-24 13:06:00 +10:00
Mitchell McCaffrey
e1e3a53942 Update docs with new settings 2021-06-24 10:42:46 +10:00
Mitchell McCaffrey
3b2288c95c Update docs with new grouping 2021-06-24 10:42:35 +10:00
Mitchell McCaffrey
8ede904eab Fix token bar not prompting for token deletion 2021-06-24 10:35:04 +10:00
Mitchell McCaffrey
ef7f27c122 Add fail option to asset request / response 2021-06-24 09:50:56 +10:00
Mitchell McCaffrey
b3cc4b324d Update sentry ignore list for browser errors 2021-06-24 09:50:27 +10:00
Mitchell McCaffrey
1ffe24ae1b Fix bug with adding fog to a fog shape with a hole in it 2021-06-21 08:02:24 +10:00
Mitchell McCaffrey
b987c3557c Update 1.9.0 release notes 2021-06-20 15:53:00 +10:00
Mitchell McCaffrey
43d3a4cc02 Update no fog to cut message 2021-06-20 15:32:38 +10:00
Mitchell McCaffrey
675dd2b37c Update index.js 2021-06-20 15:07:06 +10:00