forked from mirror/OpenTTD
Previously the linkgraph was rebuilt before the viewport extents were finalized.
This commit is contained in:
@@ -267,7 +267,7 @@ struct MainWindow : Window
|
||||
return;
|
||||
}
|
||||
|
||||
this->viewport->overlay->RebuildCache();
|
||||
this->viewport->overlay->SetDirty();
|
||||
this->GetWidget<NWidgetBase>(WID_M_VIEWPORT)->SetDirty(this);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user