@nubisco/ui 1.38.0 → 1.38.1
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.mjs
CHANGED
|
@@ -22672,6 +22672,10 @@ var fQt = /* @__PURE__ */ G({ default: () => J9 }), G9 = /* @__PURE__ */ new Set
|
|
|
22672
22672
|
l = (e.__mouseY__ ?? 0) + 4, u = (e.__mouseX__ ?? 0) + 4;
|
|
22673
22673
|
break;
|
|
22674
22674
|
}
|
|
22675
|
+
if (a > 0 && o > 0) {
|
|
22676
|
+
let e = window.innerWidth - a - 4, t = window.innerHeight - o - 4;
|
|
22677
|
+
u > e && (u = e), u < 4 && (u = 4), l > t && (l = t), l < 4 && (l = 4);
|
|
22678
|
+
}
|
|
22675
22679
|
t && (t.style.top = `${l}px`, t.style.left = `${u}px`);
|
|
22676
22680
|
}, hQt = /* @__PURE__ */ Object.assign({
|
|
22677
22681
|
"./ContextMenu.directive.ts": uQt,
|