Skip to content

Commit

Permalink
デッキの一時カラムが右以外でもスクロールしちゃう
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Dec 27, 2020
1 parent 9d5cbe1 commit 527d8bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/app/common/views/deck/deck.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export default Vue.extend({
watch: {
$route() {
if (this.$route.name == 'index') return;
if (this.$store.state.device.deckTemporaryColumnPosition !== 'right') return;
this.$nextTick(() => {
this.$refs.body.scrollTo({
left: this.$refs.body.scrollWidth - this.$refs.body.clientWidth,
Expand Down

0 comments on commit 527d8bf

Please sign in to comment.