@codemirror/view 6.21.1 → 6.21.2
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/CHANGELOG.md +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -4071,7 +4071,7 @@ handlers.mousedown = (view, event) => {
|
|
|
4071
4071
|
let mouseSel = view.inputState.mouseSelection;
|
|
4072
4072
|
if (mouseSel) {
|
|
4073
4073
|
mouseSel.start(event);
|
|
4074
|
-
return
|
|
4074
|
+
return mouseSel.dragging === false;
|
|
4075
4075
|
}
|
|
4076
4076
|
}
|
|
4077
4077
|
return false;
|
package/dist/index.js
CHANGED
|
@@ -4067,7 +4067,7 @@ handlers.mousedown = (view, event) => {
|
|
|
4067
4067
|
let mouseSel = view.inputState.mouseSelection;
|
|
4068
4068
|
if (mouseSel) {
|
|
4069
4069
|
mouseSel.start(event);
|
|
4070
|
-
return
|
|
4070
|
+
return mouseSel.dragging === false;
|
|
4071
4071
|
}
|
|
4072
4072
|
}
|
|
4073
4073
|
return false;
|