ui-redesign #37

Merged
choco merged 5 commits from ui-redesign into 1.12.0 2025-09-28 18:41:47 +00:00
2 changed files with 16 additions and 1 deletions
Showing only changes of commit 3831dd24f1 - Show all commits

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();