File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ void button_for_net_alpha() {
50
50
g_signal_connect_swapped ((GtkSpinButton*)alpha_widget,
51
51
" value_changed" ,
52
52
G_CALLBACK (set_net_alpha_value),
53
- alpha_widget);
53
+ alpha_widget);
54
54
}
55
55
56
56
void button_for_toggle_nets () {
Original file line number Diff line number Diff line change @@ -4407,16 +4407,16 @@ static void highlight_blocks(double x, double y) {
4407
4407
application.refresh_drawing ();
4408
4408
}
4409
4409
void set_net_alpha_value (GtkWidget* widget, gint /* response_id*/ , gpointer /* data*/ ) {
4410
- std::string button_name = " netAlpha" ;
4411
- auto net_alpha= find_button (button_name.c_str ());
4412
- t_draw_state* draw_state = get_draw_state_vars ();
4410
+ std::string button_name = " netAlpha" ;
4411
+ auto net_alpha = find_button (button_name.c_str ());
4412
+ t_draw_state* draw_state = get_draw_state_vars ();
4413
4413
4414
- // set draw_state->net_alpha to its corresponding value in the ui
4415
- int new_value = gtk_spin_button_get_value_as_int ((GtkSpinButton*)net_alpha)/ 100 ;
4416
- draw_state->net_alpha = new_value;
4414
+ // set draw_state->net_alpha to its corresponding value in the ui
4415
+ int new_value = gtk_spin_button_get_value_as_int ((GtkSpinButton*)net_alpha) / 100 ;
4416
+ draw_state->net_alpha = new_value;
4417
4417
4418
- // redraw
4419
- application.refresh_drawing ();
4418
+ // redraw
4419
+ application.refresh_drawing ();
4420
4420
}
4421
4421
4422
4422
void set_net_alpha_value_with_enter (GtkWidget* widget, gint /* response_id*/ , gpointer /* data*/ ) {
You can’t perform that action at this time.
0 commit comments