Commit 13b9b9b7 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

scale: Set round-digits to -1 initially

This ensures that keybindings for small-step changes
work despite draw-value being FALSE now. This was
fallout from 8ca612c9 that showed up
as arrow keys not working anymore for the color scales
in the color chooser.
parent 0a3b3708
Pipeline #224175 passed with stages
in 33 minutes and 47 seconds
......@@ -839,7 +839,7 @@ gtk_scale_init (GtkScale *scale)
_gtk_range_set_has_origin (range, TRUE);
gtk_range_set_round_digits (range, priv->digits);
gtk_range_set_round_digits (range, -1);
gtk_range_set_flippable (range, TRUE);
......@@ -80,7 +80,6 @@
<property name="name">h</property>
<property name="orientation">vertical</property>
<property name="adjustment">h_adj</property>
<property name="draw-value">False</property>
<property name="has-origin">False</property>
<property name="column">0</property>
......@@ -92,7 +91,6 @@
<object class="GtkColorScale" id="a_slider">
<property name="name">a</property>
<property name="adjustment">a_adj</property>
<property name="draw-value">False</property>
<property name="scale-type">1</property>
<property name="has-origin">False</property>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment