We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e3ddc2 commit 6bbd06aCopy full SHA for 6bbd06a
src/components/UserSelection/index.tsx
@@ -91,8 +91,8 @@ export default memo(({ selectionKeyPressed }: UserSelectionProps) => {
91
92
const nextUserSelectRect = {
93
...userSelectionRect,
94
- x: mousePos.x < startX ? mousePos.x : userSelectionRect.x,
95
- y: mousePos.y < startY ? mousePos.y : userSelectionRect.y,
+ x: mousePos.x < startX ? mousePos.x : startX,
+ y: mousePos.y < startY ? mousePos.y : startY,
96
width: Math.abs(mousePos.x - startX),
97
height: Math.abs(mousePos.y - startY),
98
};
0 commit comments