Compare commits
6 Commits
1.12.2.5-D
...
1.12.2.6-D
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
268fd471fe | ||
|
|
d517a21f5d | ||
| cac94374d9 | |||
|
|
b513e0555b | ||
|
|
de8c9cf035 | ||
|
|
7f8872cbe0 |
@@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Authors></Authors>
|
<Authors></Authors>
|
||||||
<Company></Company>
|
<Company></Company>
|
||||||
<Version>1.12.2.5</Version>
|
<Version>1.12.2.6</Version>
|
||||||
<Description></Description>
|
<Description></Description>
|
||||||
<Copyright></Copyright>
|
<Copyright></Copyright>
|
||||||
<PackageProjectUrl>https://github.com/Light-Public-Syncshells/LightlessClient</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/Light-Public-Syncshells/LightlessClient</PackageProjectUrl>
|
||||||
|
|||||||
@@ -140,6 +140,25 @@ public class SettingsUi : WindowMediatorSubscriberBase
|
|||||||
MinimumSize = new Vector2(800, 400), MaximumSize = new Vector2(800, 2000),
|
MinimumSize = new Vector2(800, 400), MaximumSize = new Vector2(800, 2000),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
TitleBarButtons = new()
|
||||||
|
{
|
||||||
|
new TitleBarButton()
|
||||||
|
{
|
||||||
|
Icon = FontAwesomeIcon.FileAlt,
|
||||||
|
Click = (msg) =>
|
||||||
|
{
|
||||||
|
Mediator.Publish(new UiToggleMessage(typeof(UpdateNotesUi)));
|
||||||
|
},
|
||||||
|
IconOffset = new(2, 1),
|
||||||
|
ShowTooltip = () =>
|
||||||
|
{
|
||||||
|
ImGui.BeginTooltip();
|
||||||
|
ImGui.Text("View Update Notes");
|
||||||
|
ImGui.EndTooltip();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
Mediator.Subscribe<OpenSettingsUiMessage>(this, (_) => Toggle());
|
Mediator.Subscribe<OpenSettingsUiMessage>(this, (_) => Toggle());
|
||||||
Mediator.Subscribe<OpenLightfinderSettingsMessage>(this, (_) =>
|
Mediator.Subscribe<OpenLightfinderSettingsMessage>(this, (_) =>
|
||||||
{
|
{
|
||||||
@@ -2339,9 +2358,7 @@ public class SettingsUi : WindowMediatorSubscriberBase
|
|||||||
_uiShared.ColoredSeparator(UIColors.Get("LightlessPurple"), 1.5f);
|
_uiShared.ColoredSeparator(UIColors.Get("LightlessPurple"), 1.5f);
|
||||||
ImGui.TreePop();
|
ImGui.TreePop();
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui.Separator();
|
ImGui.Separator();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DrawPerformance()
|
private void DrawPerformance()
|
||||||
|
|||||||
@@ -589,6 +589,11 @@ public class UpdateNotesUi : WindowMediatorSubscriberBase
|
|||||||
|
|
||||||
IsOpen = false;
|
IsOpen = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ImGui.IsItemHovered())
|
||||||
|
{
|
||||||
|
ImGui.SetTooltip("You can view this window again in the settings (title menu)");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user