mirror of
https://github.com/rio-labs/rio.git
synced 2026-05-12 06:19:09 -05:00
fix spacing getting lost
This commit is contained in:
@@ -329,6 +329,7 @@ export class SwitcherBarComponent extends ComponentBase<SwitcherBarState> {
|
||||
// Make sure the orientation is set correctly
|
||||
deltaState.orientation =
|
||||
deltaState.orientation ?? this.state.orientation;
|
||||
deltaState.spacing = deltaState.spacing ?? this.state.spacing;
|
||||
|
||||
// Pass on all available space to the marker options
|
||||
requestAnimationFrame(() => {
|
||||
|
||||
Reference in New Issue
Block a user