Skip to content

Commit 60179a9

Browse files
committed
Revert part of "Pick selected color from image in 4 ways tab in color balance rgb (#18640)"
We want to keep the slider tooltips.
1 parent 76ba13a commit 60179a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/iop/colorbalancergb.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1883,7 +1883,7 @@ void gui_init(dt_iop_module_t *self)
18831883
g->global_H = dt_color_picker_new(self, DT_COLOR_PICKER_AREA, dt_bauhaus_slider_from_params(sect, "global_H"));
18841884
dt_bauhaus_slider_set_feedback(g->global_H, 0);
18851885
dt_bauhaus_slider_set_format(g->global_H, "°");
1886-
gtk_widget_set_tooltip_text(g->global_H, _("pick opposite color from image\nctrl-click to pick selected color"));
1886+
gtk_widget_set_tooltip_text(g->global_H, _("hue of the global color offset"));
18871887

18881888
g->global_C = dt_bauhaus_slider_from_params(sect, "global_C");
18891889
dt_bauhaus_slider_set_soft_range(g->global_C, 0., 0.01);
@@ -1903,7 +1903,7 @@ void gui_init(dt_iop_module_t *self)
19031903
g->shadows_H = dt_color_picker_new(self, DT_COLOR_PICKER_AREA, dt_bauhaus_slider_from_params(sect, "shadows_H"));
19041904
dt_bauhaus_slider_set_feedback(g->shadows_H, 0);
19051905
dt_bauhaus_slider_set_format(g->shadows_H, "°");
1906-
gtk_widget_set_tooltip_text(g->shadows_H, _("pick opposite color from image\nctrl-click to pick selected color"));
1906+
gtk_widget_set_tooltip_text(g->shadows_H, _("hue of the color gain in shadows"));
19071907

19081908
g->shadows_C = dt_bauhaus_slider_from_params(sect, "shadows_C");
19091909
dt_bauhaus_slider_set_soft_range(g->shadows_C, 0., 0.5);
@@ -1923,7 +1923,7 @@ void gui_init(dt_iop_module_t *self)
19231923
g->highlights_H = dt_color_picker_new(self, DT_COLOR_PICKER_AREA, dt_bauhaus_slider_from_params(sect, "highlights_H"));
19241924
dt_bauhaus_slider_set_feedback(g->highlights_H, 0);
19251925
dt_bauhaus_slider_set_format(g->highlights_H, "°");
1926-
gtk_widget_set_tooltip_text(g->highlights_H, _("pick opposite color from image\nctrl-click to pick selected color"));
1926+
gtk_widget_set_tooltip_text(g->highlights_H, _("hue of the color gain in highlights"));
19271927

19281928
g->highlights_C = dt_bauhaus_slider_from_params(sect, "highlights_C");
19291929
dt_bauhaus_slider_set_soft_range(g->highlights_C, 0., 0.2);
@@ -1943,7 +1943,7 @@ void gui_init(dt_iop_module_t *self)
19431943
g->midtones_H = dt_color_picker_new(self, DT_COLOR_PICKER_AREA, dt_bauhaus_slider_from_params(sect, "midtones_H"));
19441944
dt_bauhaus_slider_set_feedback(g->midtones_H, 0);
19451945
dt_bauhaus_slider_set_format(g->midtones_H, "°");
1946-
gtk_widget_set_tooltip_text(g->midtones_H, _("pick opposite color from image\nctrl-click to pick selected color"));
1946+
gtk_widget_set_tooltip_text(g->midtones_H, _("hue of the color exponent in mid-tones"));
19471947

19481948
g->midtones_C = dt_bauhaus_slider_from_params(sect, "midtones_C");
19491949
dt_bauhaus_slider_set_soft_range(g->midtones_C, 0., 0.1);

0 commit comments

Comments
 (0)