coloreditor: Stop adding marks style to color scales

This commit is contained in:
Alexander Mikhaylenko 2022-05-12 02:21:34 +04:00
parent 9536eb654b
commit 1f61cb2251
2 changed files with 0 additions and 8 deletions

View File

@ -401,11 +401,6 @@ gtk_color_editor_init (GtkColorEditor *editor)
g_type_ensure (GTK_TYPE_COLOR_SWATCH);
gtk_widget_init_template (GTK_WIDGET (editor));
if (gtk_widget_get_direction (editor->h_slider) == GTK_TEXT_DIR_RTL)
gtk_widget_add_css_class (editor->h_slider, "marks-before");
else
gtk_widget_add_css_class (editor->h_slider, "marks-after");
/* Create the scaled popup adjustments manually here because connecting user data is not
* supported by template GtkBuilder xml (it would be possible to set this up in the xml
* but require 4 separate callbacks and would be rather ugly).

View File

@ -102,9 +102,6 @@
<property name="adjustment">a_adj</property>
<property name="scale-type">1</property>
<property name="has-origin">False</property>
<style>
<class name="marks-before"/>
</style>
<layout>
<property name="column">1</property>
<property name="row">2</property>