mirror of https://github.com/OpenTTD/OpenTTD
(svn r18257) -Fix: glitch when the news message is wider than the status bar
parent
fabd1b7c50
commit
2a2884646c
|
@ -500,7 +500,7 @@ struct NewsWindow : Window {
|
|||
int diff = Delta(this->top, y);
|
||||
this->top = y;
|
||||
|
||||
SetDirtyBlocks(this->left, this->top - diff, this->left + this->width, this->top + this->height);
|
||||
SetDirtyBlocks(this->left, this->top, this->left + this->width, this->top + this->height + diff);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue