GUI2: removed some unnecessary calls to canvas::set_is_dirty

The one in Outro was unnecessary since set_variable already calls set_is_dirty.
The one in the Story Viewer was there to deal with some background redraw issues which no longer appear
with the new drawing methods.
This commit is contained in:
Charles Dang 2017-06-20 09:53:38 +11:00
parent 8396b535c8
commit 855345291b
2 changed files with 0 additions and 4 deletions

View file

@ -96,7 +96,6 @@ void outro::draw_callback(window& window)
canvas& window_canvas = window.get_canvas(0);
window_canvas.set_variable("fade_step", wfl::variant(fade_step_));
window_canvas.set_is_dirty(true);
if(fading_in_) {
fade_step_ ++;

View file

@ -217,9 +217,6 @@ void story_viewer::display_part(window& window)
window_canvas.set_cfg(cfg);
// Needed to make the background redraw correctly.
window_canvas.set_is_dirty(true);
//
// Title
//