v1.0.7.1: Remove Discord and Ko-fi links from in-game config
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -45,12 +45,6 @@ namespace HSUI.Interface
|
||||
}
|
||||
|
||||
ImGuiHelper.DrawSeparator(1, 1);
|
||||
ImGui.Text("To browse presets made by users of the HSUI community join our Discord and find the #profiles channel.");
|
||||
|
||||
if (ImGui.Button("HSUI Discord", new Vector2(560, 24)))
|
||||
{
|
||||
Utils.OpenUrl("https://discord.gg/xzde5qQayh");
|
||||
}
|
||||
|
||||
// error modal
|
||||
if (_errorMessage != null)
|
||||
|
||||
@@ -241,32 +241,6 @@ namespace HSUI.Config.Tree
|
||||
ImGui.PopStyleColor();
|
||||
ImGui.PopFont();
|
||||
ImGuiHelper.SetTooltip("Changelog");
|
||||
|
||||
// discord button
|
||||
ImGui.PushFont(UiBuilder.IconFont);
|
||||
ImGui.PushStyleColor(ImGuiCol.Button, new Vector4(114f / 255f, 137f / 255f, 218f / 255f, alpha));
|
||||
ImGui.PushStyleColor(ImGuiCol.ButtonHovered, new Vector4(114f / 255f, 137f / 255f, 218f / 255f, alpha * .85f));
|
||||
ImGui.SetCursorPos(new Vector2(48 * _scale, y));
|
||||
if (ImGui.Button(FontAwesomeIcon.Link.ToIconString(), new Vector2(24 * _scale, 24 * _scale)))
|
||||
{
|
||||
Utils.OpenUrl("https://discord.gg/xzde5qQayh");
|
||||
}
|
||||
ImGui.PopStyleColor(2);
|
||||
ImGui.PopFont();
|
||||
ImGuiHelper.SetTooltip("HSUI Discord");
|
||||
|
||||
// discord button
|
||||
ImGui.PushFont(UiBuilder.IconFont);
|
||||
ImGui.PushStyleColor(ImGuiCol.Button, new Vector4(255f / 255f, 94f / 255f, 91f / 255f, alpha));
|
||||
ImGui.PushStyleColor(ImGuiCol.ButtonHovered, new Vector4(255f / 255f, 94f / 255f, 91f / 255f, alpha * .85f));
|
||||
ImGui.SetCursorPos(new Vector2(77 * _scale, y));
|
||||
if (ImGui.Button(FontAwesomeIcon.MugHot.ToIconString(), new Vector2(24 * _scale, 24 * _scale)))
|
||||
{
|
||||
Utils.OpenUrl("https://ko-fi.com/Tischel");
|
||||
}
|
||||
ImGui.PopStyleColor(2);
|
||||
ImGui.PopFont();
|
||||
ImGuiHelper.SetTooltip("Tip the developer at ko-fi.com");
|
||||
}
|
||||
|
||||
ImGui.EndChild();
|
||||
|
||||
Reference in New Issue
Block a user