@gamelearn/arcade-components 2.11.1 → 2.11.3
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.
|
@@ -751,7 +751,7 @@ var DialogComponent = function DialogComponent(_ref) {
|
|
|
751
751
|
var disabled = line === 0 || previousLineWasDecision();
|
|
752
752
|
return disabled;
|
|
753
753
|
}, [line, previousLineWasDecision]);
|
|
754
|
-
keyboardControl(disableBackButton || animationRunning ? null : manualBackLine, animationRunning ? null : manualNextLine);
|
|
754
|
+
keyboardControl(isDecision || disableBackButton || animationRunning ? null : manualBackLine, isDecision || animationRunning ? null : manualNextLine);
|
|
755
755
|
|
|
756
756
|
if (isDecision) {
|
|
757
757
|
var decisionPayload = _objectSpread(_objectSpread({}, currentLineData.payload), {}, {
|
package/dist/components/frame-click-puzzle-component/components/FrameClickPuzzleComponent.js
CHANGED
|
@@ -185,7 +185,7 @@ var FrameImageClickComponent = function FrameImageClickComponent(_ref) {
|
|
|
185
185
|
className: "puzzle-frame__progress"
|
|
186
186
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
187
187
|
style: {
|
|
188
|
-
width: "".concat(
|
|
188
|
+
width: "".concat(selected / totalCorrects * 100, "%")
|
|
189
189
|
},
|
|
190
190
|
className: "puzzle-frame__progress--handle"
|
|
191
191
|
}))), showFrames ? /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -10,6 +10,7 @@ var _mocker = require("helpers/mocker");
|
|
|
10
10
|
var mockProps = {
|
|
11
11
|
emitEvent: _mocker.emitEvent,
|
|
12
12
|
soundActions: _mocker.soundActions,
|
|
13
|
+
keyboardControl: _mocker.keyboardControl,
|
|
13
14
|
disableExit: function disableExit() {},
|
|
14
15
|
setResolveAction: function setResolveAction() {},
|
|
15
16
|
info: {
|
|
@@ -114,6 +115,7 @@ exports.mockProps = mockProps;
|
|
|
114
115
|
var mockProps2 = {
|
|
115
116
|
emitEvent: _mocker.emitEvent,
|
|
116
117
|
soundActions: _mocker.soundActions,
|
|
118
|
+
keyboardControl: _mocker.keyboardControl,
|
|
117
119
|
disableExit: function disableExit() {},
|
|
118
120
|
setResolveAction: function setResolveAction() {},
|
|
119
121
|
info: {
|
|
@@ -218,6 +220,7 @@ exports.mockProps2 = mockProps2;
|
|
|
218
220
|
var mockProps3 = {
|
|
219
221
|
emitEvent: _mocker.emitEvent,
|
|
220
222
|
soundActions: _mocker.soundActions,
|
|
223
|
+
keyboardControl: _mocker.keyboardControl,
|
|
221
224
|
disableExit: function disableExit() {},
|
|
222
225
|
setResolveAction: function setResolveAction() {},
|
|
223
226
|
info: {
|
|
@@ -322,6 +325,7 @@ exports.mockProps3 = mockProps3;
|
|
|
322
325
|
var mockProps4 = {
|
|
323
326
|
emitEvent: _mocker.emitEvent,
|
|
324
327
|
soundActions: _mocker.soundActions,
|
|
328
|
+
keyboardControl: _mocker.keyboardControl,
|
|
325
329
|
disableExit: function disableExit() {},
|
|
326
330
|
setResolveAction: function setResolveAction() {},
|
|
327
331
|
info: {
|