mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 19:14:59 +02:00
Fix walkSettings.js resolvePath calls
This commit is contained in:
parent
e7e6c63c64
commit
2a349620ee
1 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,8 @@
|
|||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
var WALK_SETTINGS_HTML_URL = Script.resolvePath('../html/walkSettings.html');
|
||||
|
||||
WalkSettings = function() {
|
||||
var _visible = false;
|
||||
var _innerWidth = Window.innerWidth;
|
||||
|
@ -69,7 +71,7 @@ WalkSettings = function() {
|
|||
// web window
|
||||
const PANEL_WIDTH = 200;
|
||||
const PANEL_HEIGHT = 180;
|
||||
var _url = Script.resolvePath('html/walkSettings.html');
|
||||
var _url = WALK_SETTINGS_HTML_URL;
|
||||
var _webWindow = new WebWindow('Walk Settings', _url, PANEL_WIDTH, PANEL_HEIGHT, false);
|
||||
_webWindow.setVisible(false);
|
||||
_webWindow.eventBridge.webEventReceived.connect(function(data) {
|
||||
|
|
Loading…
Reference in a new issue