From 212b909f19f05ef7caa951c149c1d38ace195cbf Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 29 Jul 2022 00:09:00 +1200 Subject: [PATCH] Fix vanishing editor time schedule window. --- src/gui/dialogs/editor/custom_tod.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gui/dialogs/editor/custom_tod.cpp b/src/gui/dialogs/editor/custom_tod.cpp index 0c07a2f8ed0..4d1635e10cd 100644 --- a/src/gui/dialogs/editor/custom_tod.cpp +++ b/src/gui/dialogs/editor/custom_tod.cpp @@ -234,12 +234,6 @@ void custom_tod::update_tod_display() display* disp = display::get_singleton(); assert(disp && "Display pointer is null!"); - // Prevent a floating slice of window appearing alone over the - // theme UI sidebar after redrawing tiles and before we have a - // chance to redraw the rest of this window. - get_window()->undraw(); - // TODO: draw_manager - do this properly, probably by removing this undraw - // NOTE: We only really want to re-render the gamemap tiles here. // Redrawing everything is a significantly more expensive task. // At this time, tiles are the only elements on which ToD tint is