Support drawing around notches on Android displays. Fixes #12261#12779
Support drawing around notches on Android displays. Fixes #12261#12779unknownbrackets merged 1 commit intomasterfrom
Conversation
|
How about iPhone X, XS, XR and 11? |
unknownbrackets
left a comment
There was a problem hiding this comment.
I mean, the menu looks better with the background behind it, at least.
-[Unknown]
|
This makes it easier to implement any similar change for iOS devices, but doesn't actually get the notch information from iOS. Contributions welcome. -[Unknown] |
|
Reverse landscape mode doesn't seem to be right |
|
@Panderner can you take a picture? |
|
Ah, I see, I could repro. When going directly from landscape to reverse landscape, it doesn't update the margins properly. I guess we might be doing the checks in the wrong place, I'll get this fixed. |
|
Pushed a fix, should be ok now. |
|
And how about Touchscreen test and GPU Driver Test at the developer tools menu? The letters blocked by the notch. |
|
Oh, right, thanks for reminding me about those. They indeed don't properly take the notch into account, I'll fix them up later. |
|
Fixed. |
Finally finished this up, but I'm struggling to see the point - all phones with notches are so wide anyway that you don't get any additional PSP display area, and do you really want to put controls out there in the limit? You'll just smudge up the camera. Anyway, it's not really any worse so...
Here's what it looks like on a Pocophone F1: