From 27c73d8d7c250406fb66f4fd2335c7fdd249aa0d Mon Sep 17 00:00:00 2001 From: An Orbit <68935009+orbit-loona@users.noreply.github.com> Date: Mon, 20 May 2024 11:36:36 -0400 Subject: [PATCH] tweak to make shift+] always give odd sizes --- mods/a_mod_by_alice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/a_mod_by_alice.js b/mods/a_mod_by_alice.js index e7cae544..39691dcc 100644 --- a/mods/a_mod_by_alice.js +++ b/mods/a_mod_by_alice.js @@ -3261,7 +3261,7 @@ color1 and color2 spread through striped paint like dye does with itself. col // If the user presses ] or =, increase the mouse size by 2 if (e.keyCode == 221 || e.keyCode == 187) { //If a shift key is pressed, increase by 16 - if (shiftDown && shiftDown % 2 == 1) {mouseSize = (mouseSize+16)-((mouseSize+16) % 16)} + if (shiftDown && shiftDown % 2 == 1) {mouseSize = (mouseSize+15)-((mouseSize+15) % 15); if(mouseSize % 2 == 0) { mouseSize++ }} //If an alt key is pressed, increase by 1 else if (shiftDown && shiftDown % 2 == 0) {mouseSize++} else {mouseSize += 2;}