diff --git a/on-site-vtt/module.json b/on-site-vtt/module.json index d6caef5..65e42d7 100644 --- a/on-site-vtt/module.json +++ b/on-site-vtt/module.json @@ -2,7 +2,7 @@ "id": "on-site-vtt", "title": "On-Site VTT - Virtual Tabletop, now with less virtual", "description": "A simple module adding functionality to improve playability for multiple players on a single screen/digital map.", - "version": "0.0.2", + "version": "0.0.3", "compatibility": { "minimum": "10", "verified": "11" @@ -27,7 +27,7 @@ ], "url": "https://gitea.aweleczka.de/aweleczka/On-Site-VTT", "manifest": "https://gitea.aweleczka.de/aweleczka/On-Site-VTT/raw/branch/main/on-site-vtt/module.json", - "download": "https://gitea.aweleczka.de/aweleczka/On-Site-VTT/releases/download/0.0.2/on-site-vtt_0.0.2.zip", + "download": "https://gitea.aweleczka.de/aweleczka/On-Site-VTT/archive/0.0.3.zip", "bugs": "https://gitea.aweleczka.de/aweleczka/On-Site-VTT/issues", "readme": "https://gitea.aweleczka.de/aweleczka/On-Site-VTT/raw/branch/main/README.md", "license" :"https://gitea.aweleczka.de/aweleczka/On-Site-VTT/raw/branch/main/LICENSE.txt", diff --git a/on-site-vtt/scripts/on-site-vtt.js b/on-site-vtt/scripts/on-site-vtt.js index d89a8ef..0fa3352 100644 --- a/on-site-vtt/scripts/on-site-vtt.js +++ b/on-site-vtt/scripts/on-site-vtt.js @@ -1,13 +1,11 @@ Hooks.on('init', function () { Hooks.on('getSceneControlButtons', (controls: SceneControl[]) => { controls.find(x => x.name === 'token').tools.push({ - icon: 'fas fa-refresh', name: 'rotateView', title: 'on-site-vtt.rotate', - visible: true, - toggle: false, - active: false, - onClick: () => rotateView() + icon: 'fas fa-refresh', + onClick: () => rotateView(), + button: true }); }); });