This commit is contained in:
2025-11-12 17:02:27 +01:00
parent d2e27c12a2
commit b812d748ea
44 changed files with 221 additions and 356 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export const preventAll = (event) => {
}
};
export const safeInvoke = (fn, ...args) => (typeof fn === 'function' ? fn(...args) : undefined);
export const safeInvoke = (fn, ...args) => fn?.(...args);
export const getPointerPosition = (event, { fallbackToPage = true } = {}) => {
if (!event) {