saltfish 0.2.3 → 0.2.4
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.
|
@@ -5997,8 +5997,8 @@ class CursorManager {
|
|
|
5997
5997
|
let newY;
|
|
5998
5998
|
if (this.isSelectionMode) {
|
|
5999
5999
|
const padding = this.getPaddingFromStyles((_a = this.currentAnimation) == null ? void 0 : _a.selectionStyles);
|
|
6000
|
-
newX = targetRect.
|
|
6001
|
-
newY = targetRect.
|
|
6000
|
+
newX = targetRect.right + padding + this.SELECTION_HORIZONTAL_OFFSET;
|
|
6001
|
+
newY = targetRect.bottom + padding + this.SELECTION_VERTICAL_OFFSET;
|
|
6002
6002
|
} else {
|
|
6003
6003
|
newX = targetRect.left + targetRect.width / 2 + this.POINTER_HORIZONTAL_OFFSET;
|
|
6004
6004
|
newY = targetRect.top + targetRect.height / 2 + this.POINTER_VERTICAL_OFFSET;
|