VNC-269 Log incorrect rect types (#167)
This commit is contained in:
parent
5e83e8d452
commit
6112d633de
|
|
@ -1357,12 +1357,16 @@ export default class Display {
|
|||
break;
|
||||
default:
|
||||
secondaryScreenRects++;
|
||||
if (a instanceof HTMLImageElement) {
|
||||
Log.Warn("Wrong rect type: " + rect.type);
|
||||
} else {
|
||||
if (this._screens[screenLocation.screenIndex].channel) {
|
||||
this._screens[screenLocation.screenIndex].channel.postMessage({
|
||||
eventType: 'rect',
|
||||
rect: a,
|
||||
screenLocationIndex: sI
|
||||
});
|
||||
eventType: 'rect',
|
||||
rect: a,
|
||||
screenLocationIndex: sI
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue