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

Problem with keeping aspect ratio in window when using macOS aspect-conserving resize #39044

Open
radzo73 opened this issue May 25, 2020 · 0 comments

Comments

@radzo73
Copy link
Contributor

radzo73 commented May 25, 2020

Godot version:
3.2.1

OS/device including version:
mac OS X 10.11.16, OpenGL ES 3.0 Renderer: ATI Radeon HD 5870 OpenGL Engine

Issue description:
(Preface: I have the window resolutuion set to 256x192, display.window/stretch/mode is set to Viewport, and the Aspect is set to Keep)
image

In Mac OS X, you can resize a window while keeping its aspect ratio by clicking and dragging while holding Shift. However, The game begins to generate black bars as though I am not keeping the ratio, despite me doing so. It can be seen both in enlarging the window, and reducing it.

image
(black bars made cyan for your convenience)

Steps to reproduce:
Set your window to any size, Set your mode to Viewport, aspect to Keep, and resize with ratio. Note that resizing the window through a script will keep the correct ratio.

Minimal reproduction project:
Dawn.zip

@Calinou Calinou changed the title [Mac OS X] Problem with keeping aspect ratio in window Problem with keeping aspect ratio in window May 25, 2020
@Calinou Calinou changed the title Problem with keeping aspect ratio in window Problem with keeping aspect ratio in window when using macOS aspect-conserving resize May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants