gree / unity-webview

zlib License
2.27k stars 687 forks source link

fixed AdjustBottomMargin() for "windowed" mode with "status bar" and "render outside safe area". #1077

Closed KojiNakamaru closed 3 months ago

KojiNakamaru commented 3 months ago

cf. #1075

This patch replaces getDrawingRect with getGlobalVisibleRect so that "bottom" values can be compared. This works for any combination of "status bar" on/off and "render outside safe area" on/off.