Skip to content

Reset sliders to defaults button#89

Open
herdrick wants to merge 7 commits intomainfrom
reset-sliders-to-defaults-button-2
Open

Reset sliders to defaults button#89
herdrick wants to merge 7 commits intomainfrom
reset-sliders-to-defaults-button-2

Conversation

@herdrick
Copy link
Owner

No description provided.

herdrick and others added 5 commits October 27, 2025 09:37
- Store original default values in sliderDefaults Map before Share link overrides
- Add 'Reset ⟲' button below sliders (right-aligned)
- Implement resetAllSliders() function to restore all sliders to defaults
- Apply to both 2D and 3D versions

Amp-Thread-ID: https://ampcode.com/threads/T-d4c194ad-8c1c-4e6c-8438-45272ec790d6
Co-authored-by: Amp <amp@ampcode.com>
- Add .with-reset-button and .reset-button-inline CSS classes
- Remove all style.* assignments from JavaScript
- Cleaner separation of presentation and behavior

Amp-Thread-ID: https://ampcode.com/threads/T-5498ff20-ab1a-49b7-8c8c-66dcc66e89b4
Co-authored-by: Amp <amp@ampcode.com>
@herdrick herdrick self-assigned this Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant