Merge remote-tracking branch 'upstream/1.11' into 1.11

This commit is contained in:
dP
2021-05-03 22:21:59 +03:00
103 changed files with 1631 additions and 942 deletions

View File

@@ -1914,6 +1914,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