-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: janusweb
action: commit
revision:
path_from:
revision_from: f248b570a1ad7fdc3f2deb5f8786135dfcda5cd6:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit f248b570a1ad7fdc3f2deb5f8786135dfcda5cd6
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Fri Apr 26 02:04:27 2019 -0700

    Moved edit mode control context into UI app

diff --git a/scripts/room.js b/scripts/room.js

index aab0b09c2a95e51dacc839537ef2c6a51142040f..

index ..c897c292f059e0586fc5aa7045e525aa2b24cf74 100644

--- a/scripts/room.js
+++ b/scripts/room.js
@@ -116,27 +116,6 @@ elation.require([
         object: false,
         distancescale: 1
       };
-      this.engine.systems.controls.addContext('roomedit', {
-        'accept':           [ 'keyboard_enter', (ev) => { if (ev.value) this.editObjectStop(); } ],
-        'cancel':           [ 'keyboard_esc', this.editObjectCancel ],
-        'delete':           [ 'keyboard_delete,keyboard_backspace', this.editObjectDelete ],
-        'mode':             [ 'keyboard_tab', this.editObjectToggleMode ],
-        'toggle_raycast':   [ 'keyboard_shift',   this.editObjectToggleRaycast ],
-        'manipulate_left':  [ 'keyboard_j',   this.editObjectManipulateLeft ],
-        'manipulate_right': [ 'keyboard_l',   this.editObjectManipulateRight ],
-        'manipulate_up':    [ 'keyboard_i',   this.editObjectManipulateUp ],
-        'manipulate_down':  [ 'keyboard_k',   this.editObjectManipulateDown ],
-        'manipulate_in':    [ 'keyboard_u',   this.editObjectManipulateIn ],
-        'manipulate_out':   [ 'keyboard_o',   this.editObjectManipulateOut ],
-        //'manipulate_mouse': [ 'mouse_delta',   this.editObjectManipulateMouse ],
-        'snap_ones':        [ 'keyboard_1',   this.editObjectSnapOnes ],
-        'snap_tenths':      [ 'keyboard_2',   this.editObjectSnapTenths ],
-        'snap_hundredths':  [ 'keyboard_3',   this.editObjectSnapHundredths ],
-        'snap_thousandths': [ 'keyboard_4',   this.editObjectSnapThousandths ],
-      });
-      this.engine.systems.controls.addContext('roomedit_togglemove', {
-        'togglemove':       [ 'keyboard_shift', elation.bind(this, this.editObjectToggleMove)],
-      });

       if (this.url) {
         this.roomid = md5(this.url);

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

-- Response ended

-- Page fetched on Sun Jun 2 15:08:16 2024