mirror of
https://github.com/SillyTavern/Extension-SamplerCommands.git
synced 2026-10-15 13:32:00 +00:00
[PR #2] [MERGED] Switch classes on leftPanel in order to not lose open/close state #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/Extension-SamplerCommands#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SillyTavern/Extension-SamplerCommands/pull/2
Author: @pfn
Created: 12/23/2025
Status: ✅ Merged
Merged: 12/24/2025
Merged by: @Cohee1207
Base:
main← Head:left-panel-vis-bug📝 Commits (1)
63e58daRefactor visibility check and improve enumerating sampler parameters📊 Changes
1 file changed (+22 additions, -13 deletions)
View changed files
📝
index.js(+22 -13)📄 Description
leftPanelvisibility state was getting messed up when using/sampler-{get,set}becausedisplaywas being explicitly set on the element rather than using the classes it typically obeys.Switch to adding/removing the correct classes so that the state remains consistent.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.