mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-898: Use camelCase for new code.
This commit is contained in:
@@ -431,9 +431,9 @@ angular.module('client').directive('guacClient', [function guacClient() {
|
||||
// Send new display size, if changed
|
||||
if (client && display) {
|
||||
|
||||
var pixel_density = $window.devicePixelRatio || 1;
|
||||
var width = main.offsetWidth * pixel_density;
|
||||
var height = main.offsetHeight * pixel_density;
|
||||
var pixelDensity = $window.devicePixelRatio || 1;
|
||||
var width = main.offsetWidth * pixelDensity;
|
||||
var height = main.offsetHeight * pixelDensity;
|
||||
|
||||
if (display.getWidth() !== width || display.getHeight() !== height)
|
||||
client.sendSize(width, height);
|
||||
|
Reference in New Issue
Block a user