mirror of https://github.com/OpenTTD/OpenTTD
From 3px to 2px (multiplied by UI scale).pull/10412/head
parent
01a2449489
commit
2d0c1ffdb7
|
@ -224,7 +224,7 @@ struct MainWindow : Window
|
||||||
NWidgetViewport *nvp = this->GetWidget<NWidgetViewport>(WID_M_VIEWPORT);
|
NWidgetViewport *nvp = this->GetWidget<NWidgetViewport>(WID_M_VIEWPORT);
|
||||||
nvp->InitializeViewport(this, TileXY(32, 32), ScaleZoomGUI(ZOOM_LVL_VIEWPORT));
|
nvp->InitializeViewport(this, TileXY(32, 32), ScaleZoomGUI(ZOOM_LVL_VIEWPORT));
|
||||||
|
|
||||||
this->viewport->overlay = new LinkGraphOverlay(this, WID_M_VIEWPORT, 0, 0, 3);
|
this->viewport->overlay = new LinkGraphOverlay(this, WID_M_VIEWPORT, 0, 0, 2);
|
||||||
this->refresh.SetInterval(LINKGRAPH_DELAY);
|
this->refresh.SetInterval(LINKGRAPH_DELAY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue