Fix highlighting settings on same component not working if moving from styles to a setting

This commit is contained in:
Andrew Kingston 2025-02-03 11:00:54 +00:00
parent d4ffd0509e
commit 60834ed6ad
No known key found for this signature in database
2 changed files with 1 additions and 5 deletions

View File

@ -63,7 +63,7 @@
section = "conditions" section = "conditions"
} else if (highlightedSetting.key === "_styles") { } else if (highlightedSetting.key === "_styles") {
section = "styles" section = "styles"
} else if (highlightedSetting.key === "_settings") { } else {
section = "settings" section = "settings"
} }
} }

View File

@ -745,10 +745,6 @@ export class ComponentStore extends BudiStore<ComponentState> {
} }
} }
/**
*
* @param {string} componentId
*/
select(id: string) { select(id: string) {
this.update(state => { this.update(state => {
// Only clear highlights if selecting a different component // Only clear highlights if selecting a different component