forked from mirror/OpenTTD
Feature: Transparency option for cost and income indicators (#11001)
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user