Skip to content

Commit 064adcf

Browse files
committed
do not restrict GUI offset channels to 255
1 parent 6d4c140 commit 064adcf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ui/fixture_controls.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub fn render_fixture_controls(model: &mut Model, ui: &mut Ui) {
1818
ui.label("Offset channels:");
1919
ui.add(
2020
DragValue::new(&mut new_fixture.offset_channels)
21-
.clamp_range(0..=255)
21+
.clamp_range(0..=512)
2222
.speed(1),
2323
);
2424
});
@@ -87,7 +87,7 @@ fn fixture_controls_in_project(model: &mut Model, ui: &mut Ui) {
8787
ui.label("Offset channels:");
8888
ui.add(
8989
DragValue::new(&mut fixture.offset_channels)
90-
.clamp_range(0..=255)
90+
.clamp_range(0..=512)
9191
.speed(1),
9292
);
9393
});

0 commit comments

Comments
 (0)