Skip to content

Only update DOM if state actually changes#975

Open
live627 wants to merge 1 commit intosamclarke:masterfrom
live627:state-diff
Open

Only update DOM if state actually changes#975
live627 wants to merge 1 commit intosamclarke:masterfrom
live627:state-diff

Conversation

@live627
Copy link
Copy Markdown
Collaborator

@live627 live627 commented Sep 17, 2025

  • Current issue: updateActiveButtons loops through all toolbar buttons and updates their classes (active/disabled) on every call, even if their state hasn't changed.
  • Goal: Only update buttons whose state has actually changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant