@@ -270,30 +270,30 @@ void hide_crit_path_routing(ezgl::application* app) {
270
270
271
271
// Enable the option to show critical path only when timing info is available
272
272
if (!draw_state->setup_timing_info || draw_state->pic_on_screen != ROUTING) {
273
- if (crit_path_item_index != -1 ) {
273
+ if (crit_path_item_index != -1 ) {
274
274
gtk_combo_box_text_remove (toggle_crit_path, crit_path_item_index);
275
275
gtk_combo_box_text_remove (toggle_crit_path, crit_path_item_index + 1 );
276
276
}
277
277
} else {
278
- if (crit_path_item_index == -1 ){
278
+ if (crit_path_item_index == -1 ) {
279
279
gtk_combo_box_text_insert_text (toggle_crit_path, 3 , " Crit Path Routing" );
280
280
gtk_combo_box_text_insert_text (toggle_crit_path, 4 , " Crit Path Routing Delays" );
281
- }
281
+ }
282
282
}
283
283
}
284
284
285
285
void hide_draw_routing (ezgl::application* app) {
286
286
t_draw_state* draw_state = get_draw_state_vars ();
287
287
GtkComboBoxText* toggle_nets = GTK_COMBO_BOX_TEXT (app->get_object (" ToggleNetType" ));
288
-
288
+
289
289
// Enable the option to draw routing only during the routing stage
290
290
int route_item_index = get_item_index_by_text (toggle_nets, " Routing" );
291
- if (draw_state->pic_on_screen == PLACEMENT){
291
+ if (draw_state->pic_on_screen == PLACEMENT) {
292
292
if (route_item_index != -1 ) {
293
293
gtk_combo_box_text_remove (toggle_nets, route_item_index);
294
294
}
295
295
} else {
296
- if (route_item_index == -1 ){
296
+ if (route_item_index == -1 ) {
297
297
gtk_combo_box_text_append (toggle_nets, " 2" , " Routing" );
298
298
}
299
299
}
0 commit comments