Merge remote-tracking branch 'origin/develop' into refactor/typecheck_errors

This commit is contained in:
Elian Doran
2025-05-29 09:35:12 +03:00
14 changed files with 376 additions and 343 deletions

View File

@@ -386,15 +386,8 @@ export default class TabRowWidget extends BasicWidget {
};
setupScrollEvents() {
let isScrolling = false;
this.$tabScrollingContainer[0].addEventListener('wheel', (event) => {
if (!isScrolling) {
isScrolling = true;
requestAnimationFrame(() => {
this.scrollTabContainer(event.deltaY * 1.5, 'instant');
isScrolling = false;
});
}
this.scrollTabContainer(event.deltaY * 1.5);
});
this.$scrollButtonLeft[0].addEventListener('click', () => this.scrollTabContainer(-200));