Skip to content

Commit

Permalink
Fix banner on highres monitors
Browse files Browse the repository at this point in the history
  • Loading branch information
MistressPlague committed Jun 23, 2024
1 parent dfd924f commit b29dea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/KannaProteccRootEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ void IgnoreDrawListItems(Rect rect, int index, bool isActive, bool isFocused)

//IsVRCOpen = false; //GetAllWindowHandles().Any(o => GetText(o) is var text && (text == "VRChat" || (text.Contains("VRChat") && text.Contains("Beta"))));

if (GUILayout.Button(new GUIContent(HeaderTexture, KannaProteccRoot.DiscordMessage_Localized), EditorStyles.label, GUILayout.Height(Screen.width / 8f), GUILayout.ExpandWidth(true), GUILayout.MaxWidth(999999f)))
if (GUILayout.Button(new GUIContent(HeaderTexture, KannaProteccRoot.DiscordMessage_Localized), EditorStyles.label, GUILayout.Height(Screen.width / 8f), GUILayout.ExpandWidth(true)))
{
Application.OpenURL("https://discord.gg/SyZcuTPXZA");
}
Expand Down

0 comments on commit b29dea1

Please sign in to comment.