repo: janusweb
action: commit
revision: 
path_from: 
revision_from: bdd73b2d010886bcd20ef36e0468264de2e119b0:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit bdd73b2d010886bcd20ef36e0468264de2e119b0
Author: James Baicoianu 
Date:   Sat Oct 19 00:01:54 2019 -0700

    Flip mousewheel translation direction

diff --git a/media/assets/webui/apps/editor/editor.js b/media/assets/webui/apps/editor/editor.js
index b310d79a4f3ad81e4f215c6c82cfb6a5b03b3614..
index ..421e0be7b9337d7cd75b9b47dce031650ead5d21 100644
--- a/media/assets/webui/apps/editor/editor.js
+++ b/media/assets/webui/apps/editor/editor.js
@@ -450,7 +450,7 @@ setTimeout(() => {
           mode = this.roomedit.modes[this.roomedit.modeid];

       if (mode == 'pos') {
-        let move = this.roomedit.snap * (ev.deltaY < 0 ? -1 : 1);
+        let move = this.roomedit.snap * (ev.deltaY < 0 ? 1 : -1);
         if (ev.altKey) {
           obj.pos.y += move;
         } else if (ev.shiftKey) {

-----END OF PAGE-----