From 1fccde38f6218334770cd2338d85c51865ee9798 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 20 Oct 2018 02:49:39 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=83=83=E3=82=AD=E3=81=AE=E3=82=AD?= =?UTF-8?q?=E3=83=BC=E3=83=9C=E3=83=BC=E3=83=89=E3=82=B7=E3=83=A7=E3=83=BC?= =?UTF-8?q?=E3=83=88=E3=82=AB=E3=83=83=E3=83=88=E3=82=92=E5=BC=B7=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/pages/deck/deck.direct-column.vue | 12 +++++++++++- .../app/desktop/views/pages/deck/deck.direct.vue | 14 ++++++++++++-- .../desktop/views/pages/deck/deck.hashtag-tl.vue | 14 ++++++++++++-- .../desktop/views/pages/deck/deck.list-tl.vue | 16 ++++++++++++++-- .../views/pages/deck/deck.mentions-column.vue | 12 +++++++++++- .../desktop/views/pages/deck/deck.mentions.vue | 14 ++++++++++++-- 6 files changed, 72 insertions(+), 10 deletions(-) diff --git a/src/client/app/desktop/views/pages/deck/deck.direct-column.vue b/src/client/app/desktop/views/pages/deck/deck.direct-column.vue index d5093761f..def111169 100644 --- a/src/client/app/desktop/views/pages/deck/deck.direct-column.vue +++ b/src/client/app/desktop/views/pages/deck/deck.direct-column.vue @@ -2,7 +2,7 @@ %fa:envelope R%{{ name }} - + @@ -34,5 +34,15 @@ export default Vue.extend({ return '%i18n:common.deck.direct%'; } }, + + methods: { + focus() { + this.$refs.tl.focus(); + }, + + parentFocus(direction) { + this.$emit('parentFocus', direction); + }, + } }); diff --git a/src/client/app/desktop/views/pages/deck/deck.direct.vue b/src/client/app/desktop/views/pages/deck/deck.direct.vue index c771e58a6..877c15604 100644 --- a/src/client/app/desktop/views/pages/deck/deck.direct.vue +++ b/src/client/app/desktop/views/pages/deck/deck.direct.vue @@ -1,5 +1,5 @@ diff --git a/src/client/app/desktop/views/pages/deck/deck.hashtag-tl.vue b/src/client/app/desktop/views/pages/deck/deck.hashtag-tl.vue index 02d99d388..98c15b4fb 100644 --- a/src/client/app/desktop/views/pages/deck/deck.hashtag-tl.vue +++ b/src/client/app/desktop/views/pages/deck/deck.hashtag-tl.vue @@ -1,5 +1,5 @@ diff --git a/src/client/app/desktop/views/pages/deck/deck.list-tl.vue b/src/client/app/desktop/views/pages/deck/deck.list-tl.vue index a8d811dda..cd27743f9 100644 --- a/src/client/app/desktop/views/pages/deck/deck.list-tl.vue +++ b/src/client/app/desktop/views/pages/deck/deck.list-tl.vue @@ -1,5 +1,5 @@ diff --git a/src/client/app/desktop/views/pages/deck/deck.mentions-column.vue b/src/client/app/desktop/views/pages/deck/deck.mentions-column.vue index 8ec10164f..ef0e4ad78 100644 --- a/src/client/app/desktop/views/pages/deck/deck.mentions-column.vue +++ b/src/client/app/desktop/views/pages/deck/deck.mentions-column.vue @@ -2,7 +2,7 @@ %fa:at%{{ name }} - + @@ -34,5 +34,15 @@ export default Vue.extend({ return '%i18n:common.deck.mentions%'; } }, + + methods: { + focus() { + this.$refs.tl.focus(); + }, + + parentFocus(direction) { + this.$emit('parentFocus', direction); + }, + } }); diff --git a/src/client/app/desktop/views/pages/deck/deck.mentions.vue b/src/client/app/desktop/views/pages/deck/deck.mentions.vue index 17b572f14..29bf7d95c 100644 --- a/src/client/app/desktop/views/pages/deck/deck.mentions.vue +++ b/src/client/app/desktop/views/pages/deck/deck.mentions.vue @@ -1,5 +1,5 @@