@fileverse-dev/fortune-core 1.2.90-bold-1 → 1.2.90-toast-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.
- package/es/events/keyboard.js +0 -3
- package/lib/events/keyboard.js +0 -3
- package/package.json +1 -1
package/es/events/keyboard.js
CHANGED
|
@@ -234,7 +234,6 @@ function handleControlPlusArrowKey(ctx, e, shiftPressed) {
|
|
|
234
234
|
}
|
|
235
235
|
export function handleWithCtrlOrMetaKey(ctx, cache, e, cellInput, fxInput, handleUndo, handleRedo) {
|
|
236
236
|
var _a, _b, _c, _d;
|
|
237
|
-
console.log("handleWithCtrlOrMetaKey", e);
|
|
238
237
|
var flowdata = getFlowdata(ctx);
|
|
239
238
|
if (!flowdata) return;
|
|
240
239
|
if (e.shiftKey) {
|
|
@@ -383,7 +382,6 @@ export function handleGlobalKeyDown(ctx, cellInput, fxInput, e, cache, handleUnd
|
|
|
383
382
|
return __awaiter(this, void 0, void 0, function () {
|
|
384
383
|
var kcode, kstr, allowEdit, isFxInput, ignoredKeys, restCod, last, row_index, col_index, last, row_index, col_index;
|
|
385
384
|
return __generator(this, function (_d) {
|
|
386
|
-
console.log("handleGlobalKeyDown inside", e);
|
|
387
385
|
if (e.shiftKey && e.code === "Space") {
|
|
388
386
|
e.stopImmediatePropagation();
|
|
389
387
|
e.stopPropagation();
|
|
@@ -459,7 +457,6 @@ export function handleGlobalKeyDown(ctx, cellInput, fxInput, e, cache, handleUnd
|
|
|
459
457
|
moveHighlightCell(ctx, "down", 0, "rangeOfSelect");
|
|
460
458
|
e.preventDefault();
|
|
461
459
|
} else {
|
|
462
|
-
console.log("kstr", kstr);
|
|
463
460
|
if (e.ctrlKey || e.metaKey) {
|
|
464
461
|
handleWithCtrlOrMetaKey(ctx, cache, e, cellInput, fxInput, handleUndo, handleRedo);
|
|
465
462
|
return [2];
|
package/lib/events/keyboard.js
CHANGED
|
@@ -244,7 +244,6 @@ function handleControlPlusArrowKey(ctx, e, shiftPressed) {
|
|
|
244
244
|
}
|
|
245
245
|
function handleWithCtrlOrMetaKey(ctx, cache, e, cellInput, fxInput, handleUndo, handleRedo) {
|
|
246
246
|
var _a, _b, _c, _d;
|
|
247
|
-
console.log("handleWithCtrlOrMetaKey", e);
|
|
248
247
|
var flowdata = (0, _context.getFlowdata)(ctx);
|
|
249
248
|
if (!flowdata) return;
|
|
250
249
|
if (e.shiftKey) {
|
|
@@ -393,7 +392,6 @@ function handleGlobalKeyDown(ctx, cellInput, fxInput, e, cache, handleUndo, hand
|
|
|
393
392
|
return __awaiter(this, void 0, void 0, function () {
|
|
394
393
|
var kcode, kstr, allowEdit, isFxInput, ignoredKeys, restCod, last, row_index, col_index, last, row_index, col_index;
|
|
395
394
|
return __generator(this, function (_d) {
|
|
396
|
-
console.log("handleGlobalKeyDown inside", e);
|
|
397
395
|
if (e.shiftKey && e.code === "Space") {
|
|
398
396
|
e.stopImmediatePropagation();
|
|
399
397
|
e.stopPropagation();
|
|
@@ -469,7 +467,6 @@ function handleGlobalKeyDown(ctx, cellInput, fxInput, e, cache, handleUndo, hand
|
|
|
469
467
|
(0, _selection.moveHighlightCell)(ctx, "down", 0, "rangeOfSelect");
|
|
470
468
|
e.preventDefault();
|
|
471
469
|
} else {
|
|
472
|
-
console.log("kstr", kstr);
|
|
473
470
|
if (e.ctrlKey || e.metaKey) {
|
|
474
471
|
handleWithCtrlOrMetaKey(ctx, cache, e, cellInput, fxInput, handleUndo, handleRedo);
|
|
475
472
|
return [2];
|