highlight all in range
This commit is contained in:
parent
040776bb07
commit
3eb6f68da0
|
@ -339,8 +339,8 @@ const PhotoFrame = ({
|
||||||
isShiftKeyPressed && (rangeStart || rangeStart === 0)
|
isShiftKeyPressed && (rangeStart || rangeStart === 0)
|
||||||
}
|
}
|
||||||
isInsSelectRange={
|
isInsSelectRange={
|
||||||
(index >= rangeStart + 1 && index <= currentHover) ||
|
(index >= rangeStart && index <= currentHover) ||
|
||||||
(index >= currentHover && index <= rangeStart - 1)
|
(index >= currentHover && index <= rangeStart)
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue