settings cleanup readded title settings

This commit is contained in:
choco
2025-09-28 15:16:45 +02:00
parent 4060ba96f1
commit 3831dd24f1
2 changed files with 16 additions and 1 deletions

View File

@@ -109,6 +109,21 @@ public class CompactUi : WindowMediatorSubscriberBase
AllowClickthrough = false;
TitleBarButtons = new()
{
new TitleBarButton()
{
Icon = FontAwesomeIcon.Cog,
Click = (msg) =>
{
Mediator.Publish(new UiToggleMessage(typeof(SettingsUi)));
},
IconOffset = new(2,1),
ShowTooltip = () =>
{
ImGui.BeginTooltip();
ImGui.Text("Open Lightless Settings");
ImGui.EndTooltip();
}
},
new TitleBarButton()
{
Icon = FontAwesomeIcon.Book,

View File

@@ -154,7 +154,7 @@ public class TopTabMenu
}
}
UiSharedService.AttachToolTip("Lightless Sync Settings");
UiSharedService.AttachToolTip("Open Lightless Settings");
ImGui.NewLine();
btncolor.Dispose();