mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-01 22:20:15 +00:00
Fix vanishing editor time schedule window.
This commit is contained in:
parent
143023fec8
commit
212b909f19
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user