修复歌词窗口无法完全拖到底部的问题

This commit is contained in:
lyswhut 2022-05-17 08:42:24 +08:00
parent 800848bf68
commit 5d00d81b43
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ public class LyricView extends Activity implements View.OnTouchListener {
private boolean updateWH() { private boolean updateWH() {
Display display = windowManager.getDefaultDisplay(); Display display = windowManager.getDefaultDisplay();
Point size = new Point(); Point size = new Point();
display.getSize(size); display.getRealSize(size);
if (maxWidth == size.x && maxHeight == size.y) return false; if (maxWidth == size.x && maxHeight == size.y) return false;
maxWidth = size.x; maxWidth = size.x;
maxHeight = size.y; maxHeight = size.y;

View File

@ -1,6 +1,6 @@
{ {
"name": "lx-music-mobile", "name": "lx-music-mobile",
"version": "0.13.0-beta4", "version": "0.13.0-beta5",
"versionCode": 41, "versionCode": 41,
"scripts": { "scripts": {
"ar": "react-native run-android", "ar": "react-native run-android",