This commit is contained in:
syuilo 2018-10-22 18:23:20 +09:00
parent 213a7f137e
commit 80e52c57e1
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -167,6 +167,12 @@ export default (callback: (launch: (router: VueRouter, api?: (os: MiOS) => API)
} }
}, false); }, false);
window.addEventListener('scroll', () => {
if (window.scrollY <= 8) {
os.store.commit('clearBehindNotes');
}
}, { passive: true });
Vue.mixin({ Vue.mixin({
data() { data() {
return { return {