open-agents-ai 0.187.242 → 0.187.243
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/dist/index.js +9 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -314892,9 +314892,15 @@ var init_mouse_filter = __esm({
|
|
|
314892
314892
|
if ((btn === 64 || btn === 96) && this.onScroll) this.onScroll("up", 3, row);
|
|
314893
314893
|
else if ((btn === 65 || btn === 97) && this.onScroll) this.onScroll("down", 3, row);
|
|
314894
314894
|
else if (this.onPointer) {
|
|
314895
|
-
|
|
314896
|
-
|
|
314897
|
-
else if (suffix === "
|
|
314895
|
+
const hasShift = (btn & 4) !== 0 && btn < 32;
|
|
314896
|
+
if (btn === 2 || hasShift) {
|
|
314897
|
+
} else if ((btn === 0 || btn === 1) && suffix === "M") {
|
|
314898
|
+
this.onPointer("press", col, row);
|
|
314899
|
+
} else if (btn >= 32 && btn <= 35 && suffix === "M") {
|
|
314900
|
+
this.onPointer("drag", col, row);
|
|
314901
|
+
} else if (suffix === "m") {
|
|
314902
|
+
this.onPointer("release", col, row);
|
|
314903
|
+
}
|
|
314898
314904
|
}
|
|
314899
314905
|
if (this.onActivity) this.onActivity();
|
|
314900
314906
|
i2 += mouseMatch[0].length;
|
package/package.json
CHANGED