diff --git a/plan.md b/plan.md deleted file mode 100644 index e69de29..0000000 diff --git a/src/meta.js b/src/meta.js index 6c03fd8..79bfbe5 100644 --- a/src/meta.js +++ b/src/meta.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Wplace Overlay Pro // @namespace http://tampermonkey.net/ -// @version 3.1.1 +// @version 3.1.2 // @description Overlays tiles on wplace.live. Can also resize, and color-match your overlay to wplace's palette. Make sure to comply with the site's Terms of Service, and rules! This script is not affiliated with Wplace.live in any way, use at your own risk. This script is not affiliated with TamperMonkey. The author of this userscript is not responsible for any damages, issues, loss of data, or punishment that may occur as a result of using this script. This script is provided "as is" under GPLv3. // @author shinkonet // @match https://wplace.live/* diff --git a/src/ui/panel.ts b/src/ui/panel.ts index 92a0e6e..616cb2e 100644 --- a/src/ui/panel.ts +++ b/src/ui/panel.ts @@ -281,9 +281,7 @@ function addEventListeners(panel: HTMLDivElement) { btn.addEventListener('click', () => { const mode = btn.getAttribute('data-mode') as 'above' | 'minify' | 'original'; if (mode === 'above') { - if (config.overlayMode !== 'behind') { - config.overlayMode = 'above'; - } + config.overlayMode = 'behind'; } else { config.overlayMode = mode; }