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

Add safearea.get_insets() #3

Merged
merged 1 commit into from
Mar 8, 2021
Merged

Add safearea.get_insets() #3

merged 1 commit into from
Mar 8, 2021

Conversation

dapetcu21
Copy link
Contributor

@dapetcu21 dapetcu21 commented Jan 22, 2021

Note: I couldn't test this on a notched device (I don't have one of the fancy new iPhones and Simulator builds are broken).

@dapetcu21
Copy link
Contributor Author

Ping @britzl?

@britzl
Copy link
Contributor

britzl commented Mar 1, 2021

Oh, sorry, I missed this PR! I don't have access to any iOS devices this week so I can't test. I'll do it first thing on Monday next week.

@britzl
Copy link
Contributor

britzl commented Mar 8, 2021

I'm getting insets of 0 (top, left, right and bottom) when testing on an iPhone X with iOS 14.0

@dapetcu21
Copy link
Contributor Author

Weird. Did you set safearea.resize_game_view = 0?

@britzl
Copy link
Contributor

britzl commented Mar 8, 2021

Weird. Did you set safearea.resize_game_view = 0

Erm, no 🤦 . Let me retest!

@britzl
Copy link
Contributor

britzl commented Mar 8, 2021

It works!

@britzl britzl merged commit f8c1e29 into defold:master Mar 8, 2021
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

Successfully merging this pull request may close these issues.

2 participants