From 196e4546ca74883a14145d6f2542e3f7e95d2631 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 19 Oct 2018 15:03:23 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=83=83=E3=82=AD=E3=81=A7'T'?= =?UTF-8?q?=E3=81=AE=E3=82=B7=E3=83=A7=E3=83=BC=E3=83=88=E3=82=AB=E3=83=83?= =?UTF-8?q?=E3=83=88=E3=82=92=E4=BD=BF=E3=81=88=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/pages/deck/deck.column-core.vue | 6 +++++ .../desktop/views/pages/deck/deck.notes.vue | 6 ++--- .../views/pages/deck/deck.tl-column.vue | 26 ++++++++++++++++--- .../app/desktop/views/pages/deck/deck.vue | 22 +++++++++++++++- 4 files changed, 53 insertions(+), 7 deletions(-) diff --git a/src/client/app/desktop/views/pages/deck/deck.column-core.vue b/src/client/app/desktop/views/pages/deck/deck.column-core.vue index e1490cb0e..0f64406a7 100644 --- a/src/client/app/desktop/views/pages/deck/deck.column-core.vue +++ b/src/client/app/desktop/views/pages/deck/deck.column-core.vue @@ -38,6 +38,12 @@ export default Vue.extend({ required: false, default: false } + }, + + methods: { + focus() { + this.$children[0].focus(); + } } }); diff --git a/src/client/app/desktop/views/pages/deck/deck.notes.vue b/src/client/app/desktop/views/pages/deck/deck.notes.vue index e9fcba65f..98cc1e13a 100644 --- a/src/client/app/desktop/views/pages/deck/deck.notes.vue +++ b/src/client/app/desktop/views/pages/deck/deck.notes.vue @@ -14,8 +14,8 @@ - -
+ +
@@ -77,6 +93,10 @@ export default Vue.extend({ methods: { onChangeSettings(v) { this.$store.dispatch('settings/saveDeck'); + }, + + focus() { + this.$refs.tl.focus(); } } }); diff --git a/src/client/app/desktop/views/pages/deck/deck.vue b/src/client/app/desktop/views/pages/deck/deck.vue index 787402fd0..232ffee23 100644 --- a/src/client/app/desktop/views/pages/deck/deck.vue +++ b/src/client/app/desktop/views/pages/deck/deck.vue @@ -1,6 +1,6 @@