fix(showcase): fixed an issue where scaling isn't working

This commit is contained in:
Haoyu Xu
2024-08-02 15:08:12 +08:00
parent 5c9bb29b9d
commit f62a0582fc
2 changed files with 7 additions and 2 deletions

View File

@@ -509,7 +509,7 @@ export default class Settings {
</div>
<div>
<label for="scale">Scale</label>
<input type="range" min="0" max="10" step="0.1" id="scale_slider" value="${this.#scale}" />
<input type="range" min="0.1" max="10" step="0.1" id="scale_slider" value="${this.#scale}" />
<input type="number" id="scale_input" name="scale" value="${this.#scale}" step="0.1"/>
</div>
<div>