Fixed flickering around edges of floating labels (fixes #7700)
The early-exit optimization didn't take into account the shaded border area since only the non-bordered draw area was saved. Attempting to save it caused other issues, and this is the easiest way to fix the issue.
This commit is contained in:
parent
96046499f9
commit
58a29bcad8
1 changed files with 0 additions and 5 deletions
|
@ -175,11 +175,6 @@ void floating_label::update(int time)
|
|||
|
||||
uint8_t new_alpha = get_alpha(time);
|
||||
|
||||
if(screen_loc_ == draw_loc && alpha_ == new_alpha) {
|
||||
// nothing has changed
|
||||
return;
|
||||
}
|
||||
|
||||
// Invalidate former draw loc
|
||||
draw_manager::invalidate_region(get_bg_rect(screen_loc_));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue