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:
@@ -9,7 +9,6 @@ public sealed partial class CrewMonitoringNavMapControl : NavMapControl
|
||||
public NetEntity? Focus;
|
||||
public Dictionary<NetEntity, string> LocalizedNames = new();
|
||||
|
||||
private Color _backgroundColor;
|
||||
private Label _trackedEntityLabel;
|
||||
private PanelContainer _trackedEntityPanel;
|
||||
|
||||
@@ -17,8 +16,7 @@ public sealed partial class CrewMonitoringNavMapControl : NavMapControl
|
||||
{
|
||||
WallColor = new Color(192, 122, 196);
|
||||
TileColor = new(71, 42, 72);
|
||||
|
||||
_backgroundColor = Color.FromSrgb(TileColor.WithAlpha(0.8f));
|
||||
_backgroundColor = Color.FromSrgb(TileColor.WithAlpha(_backgroundOpacity));
|
||||
|
||||
_trackedEntityLabel = new Label
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user