Navmap UI enhancements (#23777)

* label scaling wip

* beacon toggle, cleanup

* weh

* caw

* Smooth scaling, almost-selectable font size, Magnification count, zoom scale accuracy change, opacity

* never asked for individual font sizes

* zoom

* format

* Fixes CrewMonitor and PowerMonitor using the default tile color as text background instead of their custom tile colors

* font customisation, needs UI elements

* Station map rightclick now works

* UI scale will keep the local systems in line

* adjusting font size to UI scale

* typo

* fix RT version

* putting cache back in its place

* toggle labels moved to Examine
This commit is contained in:
Errant
2024-01-14 06:08:43 +01:00
committed by GitHub
parent c41bf7e27e
commit 40db236b82
5 changed files with 35 additions and 21 deletions

View File

@@ -33,6 +33,7 @@ public sealed partial class PowerMonitoringConsoleNavMapControl : NavMapControl
// Set colors
TileColor = new Color(30, 57, 67);
WallColor = new Color(102, 164, 217);
_backgroundColor = Color.FromSrgb(TileColor.WithAlpha(_backgroundOpacity));
PostWallDrawingAction += DrawAllCableNetworks;
}