mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-932: Fix dimension checking logic.
This commit is contained in:
@@ -306,7 +306,7 @@ angular.module('client').directive('guacClient', [function guacClient() {
|
|||||||
client.disconnect();
|
client.disconnect();
|
||||||
|
|
||||||
// Update stored thumbnail of previous connection
|
// Update stored thumbnail of previous connection
|
||||||
if (previousID && display && display.getWidth() >= 0 && display.getHeight() >= 0) {
|
if (previousID && display && display.getWidth() > 0 && display.getHeight() > 0) {
|
||||||
|
|
||||||
// Get screenshot
|
// Get screenshot
|
||||||
var canvas = display.flatten();
|
var canvas = display.flatten();
|
||||||
|
Reference in New Issue
Block a user