Pythyu / WhereIsMyMouse

FFXIV Dalamud plugin allowing you to not lose track of your mouse
GNU General Public License v3.0
6 stars 4 forks source link

Force to mainviewport #7

Closed MidoriKami closed 2 years ago

MidoriKami commented 2 years ago

This forces the created window to the main viewport even when the user has Multi-Monitor Support enabled. Imgui windows do not support transparency when they exist outside the main viewport for any reason, this change ensures that the drawn window will not go fully opaque

MidoriKami commented 2 years ago

Oh I see there's a merge confict due to me using the wrong branch, my apologies. It's a one line change, feel free to reject this PR and add the ImGuiHelpers.ForceNextWindowMainViewport(); line anywhere before Imgui.Begin

Pythyu commented 2 years ago

Merged in #8 Thanks for helping out :)