option menu: don't subtract nav bar size from width and fix width on 4:3 aspect ratio, don't overscroll when clicking on a category

This commit is contained in:
yugecin
2017-05-29 02:18:25 +02:00
parent 02632deff0
commit 7a51828102
3 changed files with 6 additions and 4 deletions

View File

@@ -467,7 +467,7 @@ public class DisplayContainer implements ErrorDumpable, ResolutionChangedListene
}
public boolean isWidescreen() {
return width * 1000 / height == 1777; // 16:9
return width * 1000 / height > 1500; // 1777 = 16:9, 1333 = 4:3
}
@Override