pds-dev-kit-web-test 2.7.423 → 2.7.425
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.
|
@@ -583,16 +583,15 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
|
583
583
|
if (!props.item) {
|
|
584
584
|
return;
|
|
585
585
|
}
|
|
586
|
-
var
|
|
586
|
+
var isShiftOn = shortcutKeyMode === 'BULK_SELECT' || shortcutKeyMode === 'COLLISION_SELECT';
|
|
587
|
+
if (isShiftOn) {
|
|
588
|
+
return;
|
|
589
|
+
}
|
|
590
|
+
if (props.item.i === 'BULK') {
|
|
591
|
+
return;
|
|
592
|
+
}
|
|
587
593
|
setSelectedBlockId(props.item.i);
|
|
588
594
|
setBulkBlockIds([]);
|
|
589
|
-
// if (blockType === 'COMPONENT_BLOCK') {
|
|
590
|
-
// onClickCB(Number(props.item.i));
|
|
591
|
-
// }
|
|
592
|
-
// if (blockType === 'GROUP_BLOCK' && props.e) {
|
|
593
|
-
// const { e } = props;
|
|
594
|
-
// onClickGroup(e as any, props.item.i);
|
|
595
|
-
// }
|
|
596
595
|
sectionActionHandler &&
|
|
597
596
|
sectionActionHandler({
|
|
598
597
|
type: '@CUSTOMSECTION/CB_DRAG_START',
|