Fix highlighting settings on same component not working if moving from styles to a setting
This commit is contained in:
parent
d4ffd0509e
commit
60834ed6ad
|
@ -63,7 +63,7 @@
|
|||
section = "conditions"
|
||||
} else if (highlightedSetting.key === "_styles") {
|
||||
section = "styles"
|
||||
} else if (highlightedSetting.key === "_settings") {
|
||||
} else {
|
||||
section = "settings"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -745,10 +745,6 @@ export class ComponentStore extends BudiStore<ComponentState> {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {string} componentId
|
||||
*/
|
||||
select(id: string) {
|
||||
this.update(state => {
|
||||
// Only clear highlights if selecting a different component
|
||||
|
|
Loading…
Reference in New Issue