From 3d497cedfc73ef21efc7b52b4c94c508332e0001 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 e1490cb0e4..0f64406a75 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 e9fcba65f1..98cc1e13a4 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 787402fd03..232ffee238 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 @@