mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-08-19 21:17:55 +08: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