summaryrefslogtreecommitdiff
path: root/tools/shader_editor/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'tools/shader_editor/index.html')
-rw-r--r--tools/shader_editor/index.html12
1 files changed, 2 insertions, 10 deletions
diff --git a/tools/shader_editor/index.html b/tools/shader_editor/index.html
index 5aff71f..8834567 100644
--- a/tools/shader_editor/index.html
+++ b/tools/shader_editor/index.html
@@ -245,16 +245,6 @@ body {
<label><input type="checkbox" id="audio-pulse"> Auto Pulse</label>
</div>
- <div class="control-group">
- <label>Resolution:
- <select id="resolution">
- <option value="1280x720" selected>1280×720</option>
- <option value="1920x1080">1920×1080</option>
- <option value="1024x576">1024×576</option>
- <option value="960x540">960×540</option>
- </select>
- </label>
- </div>
</div>
</div>
@@ -665,6 +655,8 @@ async function init() {
updateResolution();
editor.value = preview.getDefaultShader();
+ preview.play();
+ playPauseBtn.textContent = '⏸ Pause';
renderLoop();
} catch (error) {
errorOverlay.textContent = `Init failed: ${error.message}`;