ClickableTransparentOverlay icon indicating copy to clipboard operation
ClickableTransparentOverlay copied to clipboard

Black Overlay Background

Open Sakurey opened this issue 9 months ago • 5 comments

Image

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

}

Sakurey avatar Mar 26 '25 18:03 Sakurey