@gamelearn/arcade-components 2.12.11 → 2.12.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -93,7 +93,7 @@ var FeedbackComponent = function FeedbackComponent(_ref) {
|
|
|
93
93
|
return 'icon-error-circle-black';
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
keyboardControl(null, text && functionOnClose && explain
|
|
96
|
+
keyboardControl(null, text && functionOnClose && explain ? functionOnClose : null, text && functionOnClose && explain || functionOnClose && shortText ? functionOnClose : null);
|
|
97
97
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
98
98
|
className: "feedback-layer ".concat(explain ? 'feedback-layer--withexplain' : '')
|
|
99
99
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -94,7 +94,8 @@ var Visor = function Visor(_ref) {
|
|
|
94
94
|
translate: translate,
|
|
95
95
|
soundActions: soundActions,
|
|
96
96
|
emitNumberOfPages: function emitNumberOfPages() {},
|
|
97
|
-
endPdf: function endPdf() {}
|
|
97
|
+
endPdf: function endPdf() {},
|
|
98
|
+
keyboardControl: keyboardControl
|
|
98
99
|
})
|
|
99
100
|
},
|
|
100
101
|
application: {
|
|
@@ -104,6 +105,7 @@ var Visor = function Visor(_ref) {
|
|
|
104
105
|
translate: translate,
|
|
105
106
|
soundActions: soundActions,
|
|
106
107
|
emitNumberOfPages: function emitNumberOfPages() {},
|
|
108
|
+
keyboardControl: keyboardControl,
|
|
107
109
|
endPdf: function endPdf() {}
|
|
108
110
|
})
|
|
109
111
|
}
|