Merge tag '1.11.2' into 1.11

This commit is contained in:
Sergii Pylypenko
2021-05-07 21:53:27 +03:00
99 changed files with 1556 additions and 994 deletions

View File

@@ -2161,6 +2161,8 @@ void NWidgetViewport::SetupSmallestSize(Window *w, bool init_array)
void NWidgetViewport::Draw(const Window *w)
{
if (this->current_x == 0 || this->current_y == 0) return;
if (this->disp_flags & ND_NO_TRANSPARENCY) {
TransparencyOptionBits to_backup = _transparency_opt;
_transparency_opt &= (1 << TO_SIGNS) | (1 << TO_LOADING); // Disable all transparency, except textual stuff