mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-13 12:52:27 +00:00
Fix resolution comparision issue with portrait displays
This commit is contained in:
parent
9cc20c27ab
commit
b76645e26b
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ ScrollView {
|
|||
var existing_width = parseInt(resolutionListModel.get(j).video_width);
|
||||
var existing_height = parseInt(resolutionListModel.get(j).video_height);
|
||||
|
||||
if (screenRect.width * screenRect.height === existing_width * existing_height) {
|
||||
if (screenRect.width === existing_width && screenRect.height === existing_height) {
|
||||
// Duplicate entry, skip
|
||||
indexToAdd = -1
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue