diff --git a/plugins.json b/plugins.json index 59cc4015..6785f906 100644 --- a/plugins.json +++ b/plugins.json @@ -340,13 +340,14 @@ "author": "Ewan Howell", "description": "Edit plugins and themes live in any text editor and have them automatically update in Blockbench.", "tags": ["Plugins", "Themes", "Blockbench"], - "version": "1.0.0", - "min_version": "4.9.3", + "version": "1.0.1", + "min_version": "4.10.0", "variant": "desktop", - "website": "https://ewanhowell.com/plugins/live-dev-reloader", + "website": "https://ewanhowell.com/plugins/live-dev-reloader/", "repository": "https://github.com/ewanhowell5195/blockbenchPlugins/tree/main/live_dev_reloader", - "bug_tracker": "https://github.com/ewanhowell5195/blockbenchPlugins/issues", - "creation_date": "2024-01-20" + "bug_tracker": "https://github.com/ewanhowell5195/blockbenchPlugins/issues?title=[Live Dev Reloader]", + "creation_date": "2024-01-20", + "has_changelog": true }, "threecore_exporter": { "title": "ThreeCore Exporter", diff --git a/plugins/live_dev_reloader/changelog.json b/plugins/live_dev_reloader/changelog.json new file mode 100644 index 00000000..526415c5 --- /dev/null +++ b/plugins/live_dev_reloader/changelog.json @@ -0,0 +1,28 @@ +{ + "1.0.0": { + "title": "1.0.0", + "date": "2024-01-20", + "author": "Ewan Howell", + "categories": [ + { + "title": "New Features", + "list": [ + "Initial release" + ] + } + ] + }, + "1.0.1": { + "title": "1.0.1", + "date": "2024-06-08", + "author": "Ewan Howell", + "categories": [ + { + "title": "Bug Fixes", + "list": [ + "Fixed reloading themes that change the viewport size causing the viewport to render incorrectly" + ] + } + ] + } +} \ No newline at end of file diff --git a/plugins/live_dev_reloader/live_dev_reloader.js b/plugins/live_dev_reloader/live_dev_reloader.js index 99c27e4f..6a69cea5 100644 --- a/plugins/live_dev_reloader/live_dev_reloader.js +++ b/plugins/live_dev_reloader/live_dev_reloader.js @@ -10,13 +10,14 @@ author: "Ewan Howell", description: "Edit plugins and themes live in any text editor and have them automatically update in Blockbench.", tags: ["Plugins", "Themes", "Blockbench"], - version: "1.0.0", - min_version: "4.9.3", + version: "1.0.1", + min_version: "4.10.0", variant: "desktop", - website: "https://ewanhowell.com/plugins/live-dev-reloader", + website: "https://ewanhowell.com/plugins/live-dev-reloader/", repository: "https://github.com/ewanhowell5195/blockbenchPlugins/tree/main/live_dev_reloader", - bug_tracker: "https://github.com/ewanhowell5195/blockbenchPlugins/issues", + bug_tracker: "https://github.com/ewanhowell5195/blockbenchPlugins/issues?title=[Live Dev Reloader]", creation_date: "2024-01-20", + has_changelog: true, onload() { let toggle actions = [ @@ -179,6 +180,7 @@ } } styles = Blockbench.addCSS(css) + resizeWindow() console.log(`Theme reloaded: ${path.basename(watching, ".bbtheme")}`) } }