-
-
Notifications
You must be signed in to change notification settings - Fork 633
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
ebiten: DeviceScaleFactor before RunGame can return a wrong value when SetWindowPosition is called #1575
Comments
|
Probably we have to keep a temporary window created at |
Is there any plan for this issue? |
No so far, but is this an urgent issue for you? |
Yes, I made a function of dragging the window. When using DeviceScaleFactor, the window will shake when it moves, and it will be normal without using DeviceScaleFactor. |
I don't understand what you are doing. Could you show a (pseudo) code? |
the demo like this
|
Thanks, but is this related to this issue? This issue focuses on DeviceScaleFactor before RunGame. |
sorry, I followed the method comment |
How about not enabling to specify a monitor by SetWindowPosition? Then we can assume DeviceScaleFactor always returns the scale of the default monitor. |
Solved this issue by not letting users change the initial monitor. |
When SetWindowPosition is called and the position is in another monitor, DeviceScaleFactor should be affected.
The text was updated successfully, but these errors were encountered: