Skip to content

Commit 64d49fb

Browse files
bugfix: update drawing when update_screen() is called instead
1 parent 0741b49 commit 64d49fb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

vpr/src/draw/draw.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,12 @@ void update_screen(ScreenUpdatePriority priority, const char* msg, enum pic_type
338338
}
339339
}
340340

341+
if (draw_state->show_graphics) {
342+
application.update_message(msg);
343+
application.refresh_drawing();
344+
application.flush_drawing();
345+
}
346+
341347
if (draw_state->save_graphics) {
342348
std::string extension = "pdf";
343349
save_graphics(extension, draw_state->save_graphics_file_base);

0 commit comments

Comments
 (0)