Skip to content

Commit

Permalink
v0.4.2 improves scene adding and saving UI
Browse files Browse the repository at this point in the history
  • Loading branch information
anselanza committed Mar 6, 2024
1 parent 4f1872f commit 4b7a731
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tether-artnet-controller"
version = "0.4.1"
version = "0.4.2"
edition = "2021"
repository = "https://github.com/RandomStudio/tether-artnet-controller"
authors = ["Stephen Buchanan"]
Expand Down
4 changes: 2 additions & 2 deletions src/ui/scenes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub fn render_scenes(model: &mut Model, ui: &mut Ui) {
add_scene = Some(Scene {
label,
state,
is_editing: false,
is_editing: true,
last_active: None
});
}
Expand Down Expand Up @@ -119,7 +119,7 @@ pub fn render_scenes(model: &mut Model, ui: &mut Ui) {
});
});
}
if ui.button("Update ✅").clicked() {
if ui.button("Save ✅").clicked() {
update_scene = Some(scene_index);
scene.is_editing = false;
}
Expand Down

0 comments on commit 4b7a731

Please sign in to comment.