Resolve #2935
This commit is contained in:
parent
b622946844
commit
e8de29ae79
5 changed files with 32 additions and 41 deletions
|
|
@ -154,6 +154,11 @@ export default Vue.extend({
|
|||
}
|
||||
//#endregion
|
||||
|
||||
// タブが非表示またはスクロール位置が最上部ではないならタイトルで通知
|
||||
if (document.hidden || !this.isScrollTop()) {
|
||||
this.$store.commit('pushBehindNote', note);
|
||||
}
|
||||
|
||||
if (this.isScrollTop()) {
|
||||
// Prepend the note
|
||||
this.notes.unshift(note);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue