@gamelearn/arcade-components 2.41.0 → 2.41.1
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.
|
@@ -167,8 +167,9 @@ var DragItemPuzzleComponent = function DragItemPuzzleComponent(_ref) {
|
|
|
167
167
|
}, [emitEvent, handleFinish, solution.right.rewards]);
|
|
168
168
|
var handleFail = (0, _react.useCallback)(function () {
|
|
169
169
|
emitEvent({
|
|
170
|
-
type: '
|
|
171
|
-
ui: 'inventory'
|
|
170
|
+
type: 'openUI',
|
|
171
|
+
ui: 'inventory',
|
|
172
|
+
onFinish: function onFinish() {}
|
|
172
173
|
});
|
|
173
174
|
setResolveClass('');
|
|
174
175
|
emitEvent({
|
|
@@ -243,7 +244,8 @@ var DragItemPuzzleComponent = function DragItemPuzzleComponent(_ref) {
|
|
|
243
244
|
if (!inventoryAutoOpen) {
|
|
244
245
|
emitEvent({
|
|
245
246
|
type: 'openUI',
|
|
246
|
-
ui: 'inventory'
|
|
247
|
+
ui: 'inventory',
|
|
248
|
+
onFinish: function onFinish() {}
|
|
247
249
|
});
|
|
248
250
|
setInventoryAutoOpen(true);
|
|
249
251
|
}
|