Commit Graph
434 Commits
Author SHA1 Message Date
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 ecfab87aa0 More typescript 2021-07-09 16:22:35 +10:00
Mitchell McCaffrey 123ebd880a Format 2021-07-08 12:00:47 +10:00
Mitchell McCaffrey 62686136ab Merge branch 'master' into typescript 2021-07-02 15:54:54 +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 43d3a4cc02 Update no fog to cut message 2021-06-20 15:32:38 +10:00
Mitchell McCaffrey 1f2c70a612 Change measure tool to use full snapping to grid center and add exact euclidean measurements 2021-06-19 09:36:00 +10:00
Mitchell McCaffrey e352cadaea Add conditional rendering to token status and label 2021-06-17 11:39:41 +10:00
Mitchell McCaffrey bc97f4838a Optimised re-renders with sortable tiles 2021-06-15 20:08:45 +10:00
Mitchell McCaffrey 1e26193457 Optimise token database sync and add loading indicator for multiple token hiding 2021-06-14 15:18:07 +10:00
Mitchell McCaffrey 63421f824a Fix fog useCallback dependency 2021-06-14 12:21:08 +10:00
Mitchell McCaffrey 265f04fc0a Add toasts for unable to draw fog errors 2021-06-14 11:57:08 +10:00
Mitchell McCaffrey 1eed2eb15d Fix token preview rendering for token groups 2021-06-12 21:25:03 +10:00
Mitchell McCaffrey d0fba917a2 Add custom intersection for token vehicles using their outline 2021-06-12 20:53:40 +10:00
Mitchell McCaffrey e73d6d8317 Refactor token outline and add SVG option for token bar image previews 2021-06-12 18:40:02 +10:00
Mitchell McCaffrey 458feeec9e Move map and token settings to match the group overlay visual 2021-06-12 14:30:54 +10:00
Mitchell McCaffrey 495fa84cb5 Fix map grid settings showing with an invalid grid 2021-06-12 13:17:46 +10:00
Mitchell McCaffrey 3d74dfc88a Fix grid editor mutably changing grid state 2021-06-12 13:14:46 +10:00
Mitchell McCaffrey 159627072d Remove delete restriction for default maps and tokens 2021-06-11 15:33:14 +10:00
Mitchell McCaffrey 4bfe49f454 Optimisation to tile rendering 2021-06-10 20:08:11 +10:00
Mitchell McCaffrey 4b67071919 Replace token image cache with token outline hit function
Saves 70% perf on scroll then zoom with 100+ tokens
2021-06-10 11:16:47 +10:00
Mitchell McCaffrey 3d42b62b74 Add shape detection to token outline creation 2021-06-10 11:02:54 +10:00
Mitchell McCaffrey 1d2696228b Standardise settings select margins 2021-06-09 09:47:39 +10:00
Mitchell McCaffrey ee34c599da Add remove group items for maps and tokens 2021-06-09 09:29:32 +10:00
Mitchell McCaffrey 9d9fd5b753 Allow editing of default map and tokens and add default label setting 2021-06-06 10:24:56 +10:00
Mitchell McCaffrey 948be7cac2 Move drawing simplify away from grid dependent scaling 2021-06-06 09:39:07 +10:00
Mitchell McCaffrey f5ccbe8f8f Update fog edit pattern opacity for new shading method 2021-06-06 09:05:39 +10:00
Mitchell McCaffrey e3353c1c44 Add back tile search and action bar 2021-06-05 16:38:01 +10:00
Nicola Thouliss bfd0529207 Added all files successfully converted 2021-06-05 13:35:31 +10:00
Mitchell McCaffrey 0f2776d774 Add back map edit bar and refactor select map modal edit functions 2021-06-04 21:54:26 +10:00
Nicola Thouliss ecc4f67f37 Converted /modals to typescript 2021-06-02 19:03:01 +10:00
Mitchell McCaffrey 57aafce938 Add support for ungrouping tiles and refactor tile drag functions 2021-05-28 13:13:21 +10:00
Mitchell McCaffrey 69eafb868c Ensure order of selected tiles is kept when moving them 2021-05-27 17:19:36 +10:00
Mitchell McCaffrey cd498167aa Handle refs properly for token and map images 2021-05-25 18:06:26 +10:00
Mitchell McCaffrey d55514ef7c Refactor map and token image 2021-05-25 16:56:37 +10:00
Mitchell McCaffrey 71b8aeec6c Add multi selection to tile grouping 2021-05-25 15:47:52 +10:00
Mitchell McCaffrey 4e5bd8bf02 Add animation to group open 2021-05-24 17:11:46 +10:00
Mitchell McCaffrey 0917ef05a1 Rename select helper to group 2021-05-24 15:17:23 +10:00
Mitchell McCaffrey b776b86186 Refactored group functions into common context and added group overlay 2021-05-24 13:34:21 +10:00
Mitchell McCaffrey 4b225e5c14 Fix fog colour string warning 2021-05-24 13:07:54 +10:00
Mitchell McCaffrey 6ef3f680b4 Fix performance issues with editing map fog with lots of shapes 2021-05-24 11:36:46 +10:00
Mitchell McCaffrey 549ecbf65a Fix rendering of sub groups in group tiles 2021-05-21 16:14:11 +10:00
Mitchell McCaffrey db460b2a4a Add creation of groups with drop 2021-05-21 16:12:09 +10:00
Mitchell McCaffrey 9f5d0b8283 Add support for group visual with sortable tiles 2021-05-21 15:12:25 +10:00
Mitchell McCaffrey d34cd98fa9 Added support for recursive groups in helper function 2021-05-20 14:01:17 +10:00
Mitchell McCaffrey 19a2668644 Even up group tile padding and fix light theme badge colour 2021-05-20 13:50:19 +10:00
Mitchell McCaffrey 3a68c47de6 Remove blank rect from map fog 2021-05-20 12:22:22 +10:00
Mitchell McCaffrey ef73ca0179 Make tile groups selectable 2021-05-20 12:22:07 +10:00
Mitchell McCaffrey 05968c1964 Add sub groups to group table 2021-05-14 18:02:50 +10:00