Skip to content

Commit c92ff46

Browse files
author
Benjamin Leeds
committed
fix: Lint errors
1 parent 844f29b commit c92ff46

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

core/rfb.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,8 @@ export default class RFB extends EventTargetMixin {
540540

541541
const size = this._screenSize();
542542
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);
545545

546546
Log.Debug('Requested new desktop size: ' +
547547
size.w + 'x' + size.h);
@@ -663,7 +663,7 @@ export default class RFB extends EventTargetMixin {
663663
"disconnect", {
664664
detail:
665665
{ clean: this._rfb_clean_disconnect }
666-
}));
666+
}));
667667
break;
668668
}
669669
}
@@ -700,7 +700,7 @@ export default class RFB extends EventTargetMixin {
700700
_setCapability(cap, val) {
701701
this._capabilities[cap] = val;
702702
this.dispatchEvent(new CustomEvent("capabilities",
703-
{ detail: { capabilities: this._capabilities } }));
703+
{ detail: { capabilities: this._capabilities } }));
704704
}
705705

706706
_handle_message() {
@@ -764,9 +764,9 @@ export default class RFB extends EventTargetMixin {
764764
// Send the button down event here, as the button up
765765
// event is sent at the end of this function.
766766
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);
770770
}
771771
}
772772

@@ -1428,7 +1428,7 @@ export default class RFB extends EventTargetMixin {
14281428
ret = this._framebufferUpdate();
14291429
if (ret && !this._enabledContinuousUpdates) {
14301430
RFB.messages.fbUpdateRequest(this._sock, true, 0, 0,
1431-
this._fb_width, this._fb_height);
1431+
this._fb_width, this._fb_height);
14321432
}
14331433
return ret;
14341434

@@ -1585,7 +1585,7 @@ export default class RFB extends EventTargetMixin {
15851585
rgba = new Array(w * h * bytesPerPixel);
15861586

15871587
if (this._sock.rQwait("VMware cursor classic encoding",
1588-
(w * h * bytesPerPixel) * 2, 2)) {
1588+
(w * h * bytesPerPixel) * 2, 2)) {
15891589
return false;
15901590
}
15911591

@@ -1651,7 +1651,7 @@ export default class RFB extends EventTargetMixin {
16511651
//Alpha cursor.
16521652
} else if (cursor_type == 1) {
16531653
if (this._sock.rQwait("VMware cursor alpha encoding",
1654-
(w * h * 4), 2)) {
1654+
(w * h * 4), 2)) {
16551655
return false;
16561656
}
16571657

@@ -1818,9 +1818,9 @@ export default class RFB extends EventTargetMixin {
18181818

18191819
try {
18201820
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);
18241824
} catch (err) {
18251825
this._fail("Error decoding rect: " + err);
18261826
return false;
@@ -1831,7 +1831,7 @@ export default class RFB extends EventTargetMixin {
18311831
if (!this._enabledContinuousUpdates) { return; }
18321832

18331833
RFB.messages.enableContinuousUpdates(this._sock, true, 0, 0,
1834-
this._fb_width, this._fb_height);
1834+
this._fb_width, this._fb_height);
18351835
}
18361836

18371837
_resize(width, height) {
@@ -1890,8 +1890,8 @@ export default class RFB extends EventTargetMixin {
18901890
}
18911891
const image = this._shouldShowDotCursor() ? RFB.cursors.dot : this._cursorImage;
18921892
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
18951895
);
18961896
}
18971897

0 commit comments

Comments
 (0)