mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-04 18:28:03 +01:00
(svn r17376) -Fix: also draw the white "I've just opened" line for nested windows
This commit is contained in:
parent
5cb22df0f5
commit
9ceee42430
@ -582,6 +582,11 @@ void Window::DrawWidgets() const
|
|||||||
{
|
{
|
||||||
if (this->nested_root != NULL) {
|
if (this->nested_root != NULL) {
|
||||||
this->nested_root->Draw(this);
|
this->nested_root->Draw(this);
|
||||||
|
|
||||||
|
if (this->flags4 & WF_WHITE_BORDER_MASK) {
|
||||||
|
DrawFrameRect(0, 0, this->width - 1, this->height - 1, COLOUR_WHITE, FR_BORDERONLY);
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -695,7 +700,6 @@ void Window::DrawWidgets() const
|
|||||||
if (this->flags4 & WF_WHITE_BORDER_MASK) {
|
if (this->flags4 & WF_WHITE_BORDER_MASK) {
|
||||||
DrawFrameRect(0, 0, this->width - 1, this->height - 1, COLOUR_WHITE, FR_BORDERONLY);
|
DrawFrameRect(0, 0, this->width - 1, this->height - 1, COLOUR_WHITE, FR_BORDERONLY);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user