Add a work-around for a blurring issue.
When pressing the next or previous tip button there is a drawing glitch. As soon as the mouse pointer leaves the button area the glitch disappears. For now force an update directly after the button is pressed. This is not particularly elegant, but it works. The SDL2 transition will probably fix this issue automatically.
This commit is contained in:
parent
3c9f91a8af
commit
a6a12c9f1f
1 changed files with 8 additions and 0 deletions
|
@ -411,6 +411,14 @@ void ttitle_screen::update_tip(twindow& window, const bool previous)
|
|||
}
|
||||
|
||||
tips.select_page(page);
|
||||
/**
|
||||
* @todo Look for a proper fix.
|
||||
*
|
||||
* This dirtying is required to avoid the blurring to be rendered wrong.
|
||||
* Not entirely sure why, but since we plan to move to SDL2 that change
|
||||
* will probably fix this issue automatically.
|
||||
*/
|
||||
window.set_is_dirty(true);
|
||||
}
|
||||
|
||||
void ttitle_screen::show_debug_clock_window(CVideo& video)
|
||||
|
|
Loading…
Add table
Reference in a new issue