Skip to content

Commit d5ce44a

Browse files
committed
don't call redraw_all() from resize_event()
This messes up the redraw logic on macOS and is unnecessary, as the redraw will happen anyways.
1 parent 10ff590 commit d5ce44a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/screen.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,8 +862,6 @@ bool Screen::keyboard_character_event(unsigned int codepoint) {
862862
bool Screen::resize_event(const Vector2i& size) {
863863
if (m_resize_callback)
864864
m_resize_callback(size);
865-
m_redraw = true;
866-
draw_all();
867865
return true;
868866
}
869867

0 commit comments

Comments
 (0)