Skip to content

Commit 686137f

Browse files
committed
small fix on first bar display
1 parent 98599dc commit 686137f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/notation_bevy/src/play/play_plugin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ fn on_tab_resized(
123123
let mut first_playing_layout = None;
124124
let mut current_playing_layout = None;
125125
for (_entity, playing, view, layout) in query.iter_mut() {
126-
if view.bar_props.bar_ordinal == 1 {
126+
if view.bar_props.bar_ordinal == 0 {
127127
first_playing_layout = Some((playing, layout.clone()));
128128
}
129129
if playing.value == PlayingState::Current {

0 commit comments

Comments
 (0)