Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed Oct 11, 2024
1 parent 56658ca commit 953718b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/Widgets/DisplayWidget.vala
Original file line number Diff line number Diff line change
Expand Up @@ -429,19 +429,10 @@ public class Display.DisplayWidget : Gtk.Box {
}
});

scale_drop_down.notify["selected-item"].connect ((drop_down, param_spec) => {
scale_drop_down.notify["selected-item"].connect (() => {
// Prevent breaking autohide by closing popover
popover.popdown ();

// var i = ((Gtk.DropDown) drop_down).selected;

// if (i < 0 || i > scales.length) {
// warning ("Invalid scale selected.");
// return;
// }

// virtual_monitor.scale = scales[i];

configuration_changed ();
});

Expand Down

0 comments on commit 953718b

Please sign in to comment.