feat(runner): add showControl for easy debugging
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
const params = new URLSearchParams(window.location.search);
|
||||
var showControls;
|
||||
if (params.has("showControls")) {
|
||||
showControls = true;
|
||||
} else {
|
||||
showControls = false;
|
||||
}
|
||||
|
||||
function supportsWebGL() {
|
||||
try {
|
||||
@@ -50,7 +56,7 @@ if (!supportsWebGL()) {
|
||||
alpha: true,
|
||||
backgroundColor: "#00000000",
|
||||
viewport: window.operatorSettings.viewport,
|
||||
showControls: false,
|
||||
showControls: showControls,
|
||||
fps: window.operatorSettings.fps,
|
||||
defaultMix: window.operatorSettings.defaultMix,
|
||||
success: function (e) {
|
||||
|
||||
Reference in New Issue
Block a user