Feature: Transparency option for cost and income indicators (#11001)

This commit is contained in:
Richard Wheeler
2023-08-25 15:04:40 +01:00
committed by GitHub
parent a938067d6b
commit 96fdfb941a
6 changed files with 10 additions and 10 deletions

View File

@@ -2316,7 +2316,7 @@ void NWidgetViewport::Draw(const Window *w)
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
_transparency_opt &= (1 << TO_SIGNS) | (1 << TO_TEXT); // Disable all transparency, except textual stuff
w->DrawViewport();
_transparency_opt = to_backup;
} else {