Skip to content

Commit 19298b5

Browse files
committed
Fixed formatting changes
1 parent 5270565 commit 19298b5

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

vpr/src/draw/buttons.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void button_for_net_alpha() {
5050
g_signal_connect_swapped((GtkSpinButton*)alpha_widget,
5151
"value_changed",
5252
G_CALLBACK(set_net_alpha_value),
53-
alpha_widget);
53+
alpha_widget);
5454
}
5555

5656
void button_for_toggle_nets() {

vpr/src/draw/draw.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4407,16 +4407,16 @@ static void highlight_blocks(double x, double y) {
44074407
application.refresh_drawing();
44084408
}
44094409
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();
44134413

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;
44174417

4418-
//redraw
4419-
application.refresh_drawing();
4418+
//redraw
4419+
application.refresh_drawing();
44204420
}
44214421

44224422
void set_net_alpha_value_with_enter(GtkWidget* widget, gint /*response_id*/, gpointer /*data*/) {

0 commit comments

Comments
 (0)