Skip to content

Commit

Permalink
Re-align all monitors button
Browse files Browse the repository at this point in the history
  • Loading branch information
MolotovCherry committed Oct 21, 2023
1 parent e7befc7 commit fa7429b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions virtual-display-driver-control/src/ui/main_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ impl<'a> MainWindow<'a> {

let switch = ui
.with_layout(Layout::right_to_left(Align::Center), |ui| {
// alligns it up with the others
ui.allocate_exact_size(
vec2(0.0, ui.available_height()),
Sense::focusable_noninteractive(),
);

ui.add(toggle(&mut self.app.enabled))
.on_hover_text("Enable/disable all monitors")
})
Expand Down

0 comments on commit fa7429b

Please sign in to comment.