Skip to content

Commit 99dba4c

Browse files
committed
fixes #98, some quick hack on layout options for recording videos
1 parent cff7cc8 commit 99dba4c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

crates/notation_bevy/src/rhythm/rhythm_indicator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl ShapeOp<NotationTheme, StrokePath> for RhythmIndicatorData {
6060
);
6161
let color = theme
6262
.colors
63-
.of_section(self.bar_props.section_index);
63+
.rhythm.indicator;
6464
let line_width = theme.sizes.tab_control.rhythm_indicator_line_width;
6565
StrokePath {
6666
size: Vec2::new(radius * 2.0, radius * 2.0),

crates/notation_bevy/src/theme/theme_sizes.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ pub struct TabControlSizes {
171171
impl Default for TabControlSizes {
172172
fn default() -> Self {
173173
Self {
174-
control_width: 240.0,
175-
control_height: 80.0,
176-
dock_top_width: 400.0,
174+
control_width: 394.0,
175+
control_height: 128.0,
176+
dock_top_width: 800.0,
177177
rhythm_bar_radius_factor: 0.45,
178178
rhythm_bar_radius_extra: 2.0,
179179
rhythm_beat_radius_factor: 0.10,
@@ -201,7 +201,7 @@ impl Default for MiniMapSizes {
201201
Self {
202202
bar_height: 24.0,
203203
bar_width_range: (4.0, 1024.0),
204-
bar_margin: (0.0, 2.0),
204+
bar_margin: (2.0, 2.0),
205205
bar_outline: PlayingSize::new(0.5, 2.0, 1.0),
206206
section_separator: 2.0,
207207
}

0 commit comments

Comments
 (0)