1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 18:09:09 +00:00

(svn r17376) -Fix: also draw the white "I've just opened" line for nested windows

This commit is contained in:
rubidium
2009-09-02 11:31:11 +00:00
parent 5cb22df0f5
commit 9ceee42430

View File

@@ -582,6 +582,11 @@ void Window::DrawWidgets() const
{
if (this->nested_root != NULL) {
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;
}
@@ -695,7 +700,6 @@ void Window::DrawWidgets() const
if (this->flags4 & WF_WHITE_BORDER_MASK) {
DrawFrameRect(0, 0, this->width - 1, this->height - 1, COLOUR_WHITE, FR_BORDERONLY);
}
}
/**