mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
fix, change display resolution
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
@@ -2282,7 +2282,7 @@ class PeerInfo with ChangeNotifier {
|
||||
if (currentDisplay == kAllDisplayValue) {
|
||||
return null;
|
||||
}
|
||||
if (currentDisplay > 0 && currentDisplay < displays.length) {
|
||||
if (currentDisplay >= 0 && currentDisplay < displays.length) {
|
||||
return displays[currentDisplay];
|
||||
} else {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user