Skip to content

Commit

Permalink
made hide button actually hide the layer (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
feefladder authored Dec 9, 2024
1 parent 5c9f23c commit bf90fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rgis-renderer/src/systems.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ fn handle_layer_became_hidden_event(
) {
for event in event_reader.read() {
for (_, mut visibility) in query.iter_mut().filter(|(i, _)| **i == event.0) {
*visibility = Visibility::Visible;
*visibility = Visibility::Hidden;
}
}
}
Expand Down

0 comments on commit bf90fca

Please sign in to comment.