@@ -540,8 +540,8 @@ export default class RFB extends EventTargetMixin {
540
540
541
541
const size = this . _screenSize ( ) ;
542
542
RFB . messages . setDesktopSize ( this . _sock ,
543
- Math . floor ( size . w ) , Math . floor ( size . h ) ,
544
- this . _screen_id , this . _screen_flags ) ;
543
+ Math . floor ( size . w ) , Math . floor ( size . h ) ,
544
+ this . _screen_id , this . _screen_flags ) ;
545
545
546
546
Log . Debug ( 'Requested new desktop size: ' +
547
547
size . w + 'x' + size . h ) ;
@@ -663,7 +663,7 @@ export default class RFB extends EventTargetMixin {
663
663
"disconnect" , {
664
664
detail :
665
665
{ clean : this . _rfb_clean_disconnect }
666
- } ) ) ;
666
+ } ) ) ;
667
667
break ;
668
668
}
669
669
}
@@ -700,7 +700,7 @@ export default class RFB extends EventTargetMixin {
700
700
_setCapability ( cap , val ) {
701
701
this . _capabilities [ cap ] = val ;
702
702
this . dispatchEvent ( new CustomEvent ( "capabilities" ,
703
- { detail : { capabilities : this . _capabilities } } ) ) ;
703
+ { detail : { capabilities : this . _capabilities } } ) ) ;
704
704
}
705
705
706
706
_handle_message ( ) {
@@ -764,9 +764,9 @@ export default class RFB extends EventTargetMixin {
764
764
// Send the button down event here, as the button up
765
765
// event is sent at the end of this function.
766
766
RFB . messages . pointerEvent ( this . _sock ,
767
- this . _display . absX ( x ) ,
768
- this . _display . absY ( y ) ,
769
- bmask ) ;
767
+ this . _display . absX ( x ) ,
768
+ this . _display . absY ( y ) ,
769
+ bmask ) ;
770
770
}
771
771
}
772
772
@@ -1428,7 +1428,7 @@ export default class RFB extends EventTargetMixin {
1428
1428
ret = this . _framebufferUpdate ( ) ;
1429
1429
if ( ret && ! this . _enabledContinuousUpdates ) {
1430
1430
RFB . messages . fbUpdateRequest ( this . _sock , true , 0 , 0 ,
1431
- this . _fb_width , this . _fb_height ) ;
1431
+ this . _fb_width , this . _fb_height ) ;
1432
1432
}
1433
1433
return ret ;
1434
1434
@@ -1585,7 +1585,7 @@ export default class RFB extends EventTargetMixin {
1585
1585
rgba = new Array ( w * h * bytesPerPixel ) ;
1586
1586
1587
1587
if ( this . _sock . rQwait ( "VMware cursor classic encoding" ,
1588
- ( w * h * bytesPerPixel ) * 2 , 2 ) ) {
1588
+ ( w * h * bytesPerPixel ) * 2 , 2 ) ) {
1589
1589
return false ;
1590
1590
}
1591
1591
@@ -1651,7 +1651,7 @@ export default class RFB extends EventTargetMixin {
1651
1651
//Alpha cursor.
1652
1652
} else if ( cursor_type == 1 ) {
1653
1653
if ( this . _sock . rQwait ( "VMware cursor alpha encoding" ,
1654
- ( w * h * 4 ) , 2 ) ) {
1654
+ ( w * h * 4 ) , 2 ) ) {
1655
1655
return false ;
1656
1656
}
1657
1657
@@ -1818,9 +1818,9 @@ export default class RFB extends EventTargetMixin {
1818
1818
1819
1819
try {
1820
1820
return decoder . decodeRect ( this . _FBU . x , this . _FBU . y ,
1821
- this . _FBU . width , this . _FBU . height ,
1822
- this . _sock , this . _display ,
1823
- this . _fb_depth ) ;
1821
+ this . _FBU . width , this . _FBU . height ,
1822
+ this . _sock , this . _display ,
1823
+ this . _fb_depth ) ;
1824
1824
} catch ( err ) {
1825
1825
this . _fail ( "Error decoding rect: " + err ) ;
1826
1826
return false ;
@@ -1831,7 +1831,7 @@ export default class RFB extends EventTargetMixin {
1831
1831
if ( ! this . _enabledContinuousUpdates ) { return ; }
1832
1832
1833
1833
RFB . messages . enableContinuousUpdates ( this . _sock , true , 0 , 0 ,
1834
- this . _fb_width , this . _fb_height ) ;
1834
+ this . _fb_width , this . _fb_height ) ;
1835
1835
}
1836
1836
1837
1837
_resize ( width , height ) {
@@ -1890,8 +1890,8 @@ export default class RFB extends EventTargetMixin {
1890
1890
}
1891
1891
const image = this . _shouldShowDotCursor ( ) ? RFB . cursors . dot : this . _cursorImage ;
1892
1892
this . _cursor . change ( image . rgbaPixels ,
1893
- image . hotx , image . hoty ,
1894
- image . w , image . h
1893
+ image . hotx , image . hoty ,
1894
+ image . w , image . h
1895
1895
) ;
1896
1896
}
1897
1897
0 commit comments