saltfish 0.2.3 → 0.2.5
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.
|
@@ -2873,7 +2873,7 @@ class StateMachineActionHandler {
|
|
|
2873
2873
|
this.managers.cursorManager.setShouldShowCursor(false);
|
|
2874
2874
|
}
|
|
2875
2875
|
const hasSpecialTransitions = context.currentStep.buttons && context.currentStep.buttons.length > 0 || context.currentStep.transitions.some(
|
|
2876
|
-
(t) => t.type === "dom-click" || t.type === "url-path"
|
|
2876
|
+
(t) => t.type === "dom-click" || t.type === "url-path" || t.type === "dom-element-visible"
|
|
2877
2877
|
);
|
|
2878
2878
|
const completionPolicy = hasSpecialTransitions ? "manual" : "auto";
|
|
2879
2879
|
if (hasSpecialTransitions) {
|
|
@@ -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;
|