@novnc/novnc
Advanced tools
Comparing version 1.3.0-gf0c3af3 to 1.3.0-gf59be05
@@ -156,2 +156,12 @@ /* | ||
// macOS doesn't send proper key releases if a key is pressed | ||
// while meta is held down | ||
if ((browser.isMac() || browser.isIOS()) && | ||
(e.metaKey && code !== 'MetaLeft' && code !== 'MetaRight')) { | ||
this._sendKeyEvent(keysym, code, true); | ||
this._sendKeyEvent(keysym, code, false); | ||
stopEvent(e); | ||
return; | ||
} | ||
// macOS doesn't send proper key events for modifiers, only | ||
@@ -158,0 +168,0 @@ // state change events. That gets extra confusing for CapsLock |
@@ -99,3 +99,4 @@ "use strict"; | ||
} | ||
}; /* End of Base64 namespace */ | ||
}; | ||
/* End of Base64 namespace */ | ||
exports["default"] = _default; |
@@ -17,3 +17,4 @@ "use strict"; | ||
* | ||
*/var CopyRectDecoder = /*#__PURE__*/function () { | ||
*/ | ||
var CopyRectDecoder = /*#__PURE__*/function () { | ||
function CopyRectDecoder() { | ||
@@ -20,0 +21,0 @@ _classCallCheck(this, CopyRectDecoder); |
@@ -17,3 +17,4 @@ "use strict"; | ||
* | ||
*/var JPEGDecoder = /*#__PURE__*/function () { | ||
*/ | ||
var JPEGDecoder = /*#__PURE__*/function () { | ||
function JPEGDecoder() { | ||
@@ -20,0 +21,0 @@ _classCallCheck(this, JPEGDecoder); |
@@ -17,3 +17,4 @@ "use strict"; | ||
* | ||
*/var RawDecoder = /*#__PURE__*/function () { | ||
*/ | ||
var RawDecoder = /*#__PURE__*/function () { | ||
function RawDecoder() { | ||
@@ -20,0 +21,0 @@ _classCallCheck(this, RawDecoder); |
@@ -17,3 +17,4 @@ "use strict"; | ||
* | ||
*/var RREDecoder = /*#__PURE__*/function () { | ||
*/ | ||
var RREDecoder = /*#__PURE__*/function () { | ||
function RREDecoder() { | ||
@@ -20,0 +21,0 @@ _classCallCheck(this, RREDecoder); |
@@ -156,2 +156,11 @@ "use strict"; | ||
// macOS doesn't send proper key releases if a key is pressed | ||
// while meta is held down | ||
if ((browser.isMac() || browser.isIOS()) && e.metaKey && code !== 'MetaLeft' && code !== 'MetaRight') { | ||
this._sendKeyEvent(keysym, code, true); | ||
this._sendKeyEvent(keysym, code, false); | ||
(0, _events.stopEvent)(e); | ||
return; | ||
} | ||
// macOS doesn't send proper key events for modifiers, only | ||
@@ -158,0 +167,0 @@ // state change events. That gets extra confusing for CapsLock |
@@ -7,3 +7,4 @@ "use strict"; | ||
exports["default"] = void 0; | ||
/* eslint-disable key-spacing */var _default = { | ||
/* eslint-disable key-spacing */ | ||
var _default = { | ||
XK_VoidSymbol: 0xffffff, | ||
@@ -10,0 +11,0 @@ /* Void symbol */ |
@@ -12,3 +12,4 @@ "use strict"; | ||
* keymap-gen code-map --lang=js keymaps.csv html atset1 | ||
*/var _default = { | ||
*/ | ||
var _default = { | ||
"Again": 0xe005, | ||
@@ -15,0 +16,0 @@ /* html:Again (Again) -> linux:129 (KEY_AGAIN) -> atset1:57349 */ |
@@ -16,3 +16,4 @@ "use strict"; | ||
* See README.md for usage and integration instructions. | ||
*/var EventTargetMixin = /*#__PURE__*/function () { | ||
*/ | ||
var EventTargetMixin = /*#__PURE__*/function () { | ||
function EventTargetMixin() { | ||
@@ -19,0 +20,0 @@ _classCallCheck(this, EventTargetMixin); |
{ | ||
"name": "@novnc/novnc", | ||
"version": "1.3.0-gf0c3af3", | ||
"version": "1.3.0-gf59be05", | ||
"description": "An HTML5 VNC client", | ||
@@ -5,0 +5,0 @@ "browser": "lib/rfb", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1225735
30076