Skip to content

Commit 2f36620

Browse files
remove method calls that update drawing from on_stage_change_setup
1 parent 64d49fb commit 2f36620

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

vpr/src/draw/draw.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ static void draw_main_canvas(ezgl::renderer* g) {
242242
}
243243

244244
static void on_stage_change_setup(ezgl::application* app, bool is_new_window) {
245-
246245
// default setup for new window
247246
if (is_new_window) {
248247
basic_button_setup(app);
@@ -271,10 +270,6 @@ static void on_stage_change_setup(ezgl::application* app, bool is_new_window) {
271270
hide_crit_path_routing(app);
272271

273272
hide_draw_routing(app);
274-
275-
app->update_message(draw_state->default_message);
276-
app->refresh_drawing();
277-
app->flush_drawing();
278273
}
279274

280275
#endif //NO_GRAPHICS

0 commit comments

Comments
 (0)