Skip to content

Commit

Permalink
Still goof to go beyond 3
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Jan 30, 2024
1 parent 63b70b8 commit 4124002
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fuses/appearance/AppearanceView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -384,16 +384,14 @@ public class AppearanceView : Gtk.Box {
};
roundness_label.add_css_class ("cb-title");

var roundness_adjustment = new Gtk.Adjustment (-1, 0.0, 5.0, 1.0, 0, 0);
var roundness_adjustment = new Gtk.Adjustment (-1, 0.0, 3.0, 1.0, 0, 0);

var roundness_scale = new Gtk.Scale (Gtk.Orientation.HORIZONTAL, roundness_adjustment) {
draw_value = false,
hexpand = true
};
roundness_scale.add_mark (1.0, Gtk.PositionType.TOP, null);
roundness_scale.add_mark (2.0, Gtk.PositionType.TOP, null);
roundness_scale.add_mark (3.0, Gtk.PositionType.TOP, null);
roundness_scale.add_mark (4.0, Gtk.PositionType.TOP, null);

var roundness_spinbutton = new Gtk.SpinButton (roundness_adjustment, 0.25, 2) {
valign = Gtk.Align.CENTER
Expand Down

0 comments on commit 4124002

Please sign in to comment.