@tekkare/auriga 0.1.132 → 0.1.133
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/module.json
CHANGED
|
@@ -110,7 +110,7 @@ export default defineComponent({
|
|
|
110
110
|
if (!element)
|
|
111
111
|
return false;
|
|
112
112
|
const rect = element.getBoundingClientRect();
|
|
113
|
-
return rect.top <= getElementPosition("chapter_menu") +
|
|
113
|
+
return rect.top <= getElementPosition("chapter_menu") + 10;
|
|
114
114
|
}
|
|
115
115
|
function removeEvent(index, anchor, callback) {
|
|
116
116
|
return new Promise((resolve) => {
|
|
@@ -129,7 +129,7 @@ export default defineComponent({
|
|
|
129
129
|
await removeEvent(index, anchorId).then(() => {
|
|
130
130
|
setTimeout(() => {
|
|
131
131
|
document.addEventListener("scroll", scrollChapters);
|
|
132
|
-
},
|
|
132
|
+
}, 1200);
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
135
|
function setBarPosition() {
|