gantt-task-react-v 1.5.23 → 1.5.24
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.
|
@@ -10224,9 +10224,10 @@ const TaskListTableRowInner = forwardRef(
|
|
|
10224
10224
|
if (task.type !== "empty") {
|
|
10225
10225
|
scrollToTask(task);
|
|
10226
10226
|
}
|
|
10227
|
-
if (event.detail
|
|
10228
|
-
|
|
10227
|
+
if (event.detail >= 2 && isSelected) {
|
|
10228
|
+
return;
|
|
10229
10229
|
}
|
|
10230
|
+
selectTaskOnMouseDown(task.id, event);
|
|
10230
10231
|
if (onClick) {
|
|
10231
10232
|
onClick(task);
|
|
10232
10233
|
}
|
|
@@ -20805,7 +20806,7 @@ const Gantt = (props) => {
|
|
|
20805
20806
|
);
|
|
20806
20807
|
const handleTaskDoubleClick = useCallback(
|
|
20807
20808
|
(task) => {
|
|
20808
|
-
if (enableDrawer &&
|
|
20809
|
+
if (enableDrawer && drawerData) {
|
|
20809
20810
|
return;
|
|
20810
20811
|
}
|
|
20811
20812
|
selectTask(task.id);
|
|
@@ -20837,7 +20838,7 @@ const Gantt = (props) => {
|
|
|
20837
20838
|
);
|
|
20838
20839
|
const handleTaskRowDoubleClick = useCallback(
|
|
20839
20840
|
(task) => {
|
|
20840
|
-
if (enableDrawer &&
|
|
20841
|
+
if (enableDrawer && drawerData) {
|
|
20841
20842
|
return;
|
|
20842
20843
|
}
|
|
20843
20844
|
if (task.type !== "empty") {
|
|
@@ -10241,9 +10241,10 @@
|
|
|
10241
10241
|
if (task.type !== "empty") {
|
|
10242
10242
|
scrollToTask(task);
|
|
10243
10243
|
}
|
|
10244
|
-
if (event.detail
|
|
10245
|
-
|
|
10244
|
+
if (event.detail >= 2 && isSelected) {
|
|
10245
|
+
return;
|
|
10246
10246
|
}
|
|
10247
|
+
selectTaskOnMouseDown(task.id, event);
|
|
10247
10248
|
if (onClick) {
|
|
10248
10249
|
onClick(task);
|
|
10249
10250
|
}
|
|
@@ -20822,7 +20823,7 @@
|
|
|
20822
20823
|
);
|
|
20823
20824
|
const handleTaskDoubleClick = React.useCallback(
|
|
20824
20825
|
(task) => {
|
|
20825
|
-
if (enableDrawer &&
|
|
20826
|
+
if (enableDrawer && drawerData) {
|
|
20826
20827
|
return;
|
|
20827
20828
|
}
|
|
20828
20829
|
selectTask(task.id);
|
|
@@ -20854,7 +20855,7 @@
|
|
|
20854
20855
|
);
|
|
20855
20856
|
const handleTaskRowDoubleClick = React.useCallback(
|
|
20856
20857
|
(task) => {
|
|
20857
|
-
if (enableDrawer &&
|
|
20858
|
+
if (enableDrawer && drawerData) {
|
|
20858
20859
|
return;
|
|
20859
20860
|
}
|
|
20860
20861
|
if (task.type !== "empty") {
|
package/package.json
CHANGED