mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 20:15:15 +02:00
23 lines
No EOL
586 B
JavaScript
23 lines
No EOL
586 B
JavaScript
(function() { // BEGIN LOCAL_SCOPE
|
|
var qml = Script.resolvePath('./workloadInspector.qml');
|
|
var window = new OverlayWindow({
|
|
title: 'Inspect Engine',
|
|
source: qml,
|
|
width: 400,
|
|
height: 600
|
|
});
|
|
|
|
window.closed.connect(function () { Script.stop(); });
|
|
Script.scriptEnding.connect(function () {
|
|
/* var geometry = JSON.stringify({
|
|
x: window.position.x,
|
|
y: window.position.y,
|
|
width: window.size.x,
|
|
height: window.size.y
|
|
})
|
|
|
|
Settings.setValue(HMD_DEBUG_WINDOW_GEOMETRY_KEY, geometry);*/
|
|
window.close();
|
|
})
|
|
|
|
}()); // END LOCAL_SCOPE
|