Skip to content

Commit

Permalink
Use new method
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Jan 30, 2024
1 parent 1f10eac commit f0f26a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fuses/appearance/AppearanceView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ public class AppearanceView : Gtk.Box {
roundness_scale.scale.draw_value = true;
roundness_scale.scale.value_pos = Gtk.PositionType.LEFT;
roundness_scale.stop_indicator_visibility = true;
roundness_scale.scale.add_mark (1.0, Gtk.PositionType.TOP, null);
roundness_scale.add_mark (1.0, null);

var roundness_control_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 12);
roundness_control_box.append (roundness_scale);
Expand Down
4 changes: 2 additions & 2 deletions fuses/appearance/TextView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class Appearance.TextView : Gtk.Box {
size_scale.scale.draw_value = true;
size_scale.scale.value_pos = Gtk.PositionType.LEFT;
size_scale.stop_indicator_visibility = true;
size_scale.scale.add_mark (1, Gtk.PositionType.TOP, null);
size_scale.add_mark (1, null);

var size_control_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 12);
size_control_box.append (size_scale);
Expand All @@ -55,7 +55,7 @@ public class Appearance.TextView : Gtk.Box {
font_weight_scale.scale.draw_value = true;
font_weight_scale.scale.value_pos = Gtk.PositionType.LEFT;
font_weight_scale.stop_indicator_visibility = true;
font_weight_scale.scale.add_mark (1.0, Gtk.PositionType.TOP, null);
font_weight_scale.add_mark (1.0, null);

var font_weight_control_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 12);
font_weight_control_box.append (font_weight_scale);
Expand Down

0 comments on commit f0f26a0

Please sign in to comment.