dev merge #163

Merged
sora merged 29 commits from dev into master 2025-03-05 00:11:12 +01:00
Showing only changes of commit da1f8bb4f1 - Show all commits

View File

@ -226,7 +226,15 @@ const app = new Vue({
if (e.which === 13) {
}
},
focus_leg(idx) {
const c = document.querySelector('.scroll-content')
const item = c.children[(idx != undefined ? idx : this.journey.sel_leg) + 1];
c.scrollLeft = item.offsetLeft + (item.offsetWidth / 2) - c.offsetWidth / 2
},
nav_mousemove(e) {
if (e.pointerType != 'mouse') return;
const c = document.querySelector('.scroll-content')
const left = e.pageX - c.getBoundingClientRect().left;
const newDir =