-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Windows 10 does not have this problem, the problem only occurs on Windows 11
Code of UI
using ClickableTransparentOverlay;
using ImGuiNET;
namespace Custom19._84UI.UI;
internal class SampleOverlay : Overlay
{
private bool _showWindow = true;
private bool _showDemo = false;
public SampleOverlay() : base(3840, 2160)
{
}
protected override Task PostInitialized()
{
this.VSync = false;
return Task.CompletedTask;
}
protected override void Render()
{
if (_showDemo)
{
ImGui.ShowDemoWindow(ref _showDemo);
}
if (!_showWindow)
{
this.Close();
return;
}
ImGui.Begin("Marsey Menu", ref _showWindow);
if (ImGui.Button("Show Demo Window"))
{
_showDemo = !_showDemo;
}
ImGui.End();
}
}
Metadata
Metadata
Assignees
Labels
No labels
