Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config window appears partially offscreen with multiple monitors #83

Open
sersorrel opened this issue Sep 6, 2024 · 0 comments
Open

Comments

@sersorrel
Copy link

When I /lm for the first time since last launching the game, the config window appears partially offscreen. I think it's trying to centre itself on the midpoint of all my monitors (even though XIV is obviously only displaying on one monitor). I do not have Dalamud's multi-monitor windows setting enabled.

I presume this line is incorrect:

_origin = ImGui.GetMainViewport().Size / 2f;

I suspect you need to take into account the .Pos of the viewport as well as its size.

(most plugins seem content to let window settings be saved, so config windows and the like appear where they were manually moved to; is there a particular reason lmeter diverges from the norm here?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant