Codechange: Use EnumBitSet for WindowFlags.
This commit is contained in:
committed by
Peter Nelson
parent
248f369e86
commit
efb05396a7
@@ -94,7 +94,7 @@ public:
|
||||
this->FinishInitNested(window_number);
|
||||
|
||||
this->owner = this->wp->owner;
|
||||
this->flags |= WF_DISABLE_VP_SCROLL;
|
||||
this->flags.Set(WindowFlag::DisableVpScroll);
|
||||
|
||||
NWidgetViewport *nvp = this->GetWidget<NWidgetViewport>(WID_W_VIEWPORT);
|
||||
nvp->InitializeViewport(this, this->GetCenterTile(), ScaleZoomGUI(ZOOM_LVL_VIEWPORT));
|
||||
|
||||
Reference in New Issue
Block a user