diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-10 00:39:08 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-10 00:39:08 +0100 |
| commit | 22116e23a352662e8ae1b8c4bab33b78a6a13189 (patch) | |
| tree | f5102751136aeb7d11d8861798ace89fe4ab81ef /tools/shader_editor/index.html | |
| parent | 5631ab5868b4291c8a65a309e029c731d820fa44 (diff) | |
feat: Remove resolution selector, enable autoplay on load
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/shader_editor/index.html')
| -rw-r--r-- | tools/shader_editor/index.html | 12 |
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}`; |
