@@ -8,7 +8,6 @@ let css_provider;
88const combo_row_gradient_type = workbench . builder . get_object (
99 "combo_row_gradient_type" ,
1010) ;
11- const adjustment_angle = workbench . builder . get_object ( "adjustment_angle" ) ;
1211const spin_row_angle = workbench . builder . get_object ( "spin_row_angle" ) ;
1312const button_color_1 = workbench . builder . get_object ( "button_color_1" ) ;
1413const button_color_2 = workbench . builder . get_object ( "button_color_2" ) ;
@@ -17,7 +16,7 @@ const gtksource_buffer = workbench.builder.get_object("gtksource_buffer");
1716const button_copy_css = workbench . builder . get_object ( "button_copy_css" ) ;
1817
1918combo_row_gradient_type . connect ( "notify::selected" , update ) ;
20- adjustment_angle . connect ( "value-changed " , update ) ;
19+ spin_row_angle . connect ( "notify:: value" , update ) ;
2120button_color_1 . connect ( "notify::rgba" , update ) ;
2221button_color_2 . connect ( "notify::rgba" , update ) ;
2322button_color_3 . connect ( "notify::rgba" , update ) ;
@@ -31,7 +30,7 @@ function update() {
3130update ( ) ;
3231
3332function generateCss ( ) {
34- const angle_string = adjustment_angle . value ;
33+ const angle_string = spin_row_angle . value ;
3534 const first_color_string = button_color_1 . rgba . to_string ( ) ;
3635 const second_color_string = button_color_2 . rgba . to_string ( ) ;
3736 const third_color_string = button_color_3 . rgba . to_string ( ) ;
0 commit comments