Skip to content
New issue

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

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

Already on GitHub? # to your account

Library does not respect t.window.display setting #4

Open
uvd540 opened this issue Jun 1, 2024 · 1 comment
Open

Library does not respect t.window.display setting #4

uvd540 opened this issue Jun 1, 2024 · 1 comment

Comments

@uvd540
Copy link

uvd540 commented Jun 1, 2024

Using this library resets the t.window.display setting to 1 even if it is explicitly set otherwise in conf.lua. In my opinion, this is undesirable behavior.

@sysl-dev
Copy link
Owner

sysl-dev commented Jun 1, 2024

Modify
function m.set_game_scale(newScale)
m.scale = newScale
love.window.setMode(base.width * m.scale, base.height * m.scale, {fullscreen = false, resizable = allow_window_resize, highdpi = false})
end

The set mode call to set a monitor.

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

No branches or pull requests

2 participants