You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mobile devices tend to have rounded corners on their display. Without taking this into account, it's possible that user elements are not visible, even when using love.window.getSafeArea.
Instead of adding a new API to query for display corner radius, maybe it's better to update love.window.getSafeArea to take rounded corners into account. It could (maybe even should) adapt to the device orientation as well to letterbox corners only on the largest axis, like iOS does (see above screenshots, how the portrait safe area maintains the whole device width).
Mobile devices tend to have rounded corners on their display. Without taking this into account, it's possible that user elements are not visible, even when using
love.window.getSafeArea
.Android 12 have this API and explanation: https://developer.android.com/develop/ui/views/layout/insets/rounded-corners
I believe iOS has something similar?
The text was updated successfully, but these errors were encountered: