Browse Source

Make the combatant scrolling orders consistent

master
Fen Dweller 5 years ago
parent
commit
925a567228
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/components/Combat.vue

+ 1
- 1
src/components/Combat.vue View File

@@ -70,7 +70,7 @@ import { Side } from '@/game/combat'
const target = this.$el.querySelector("#right-stats") const target = this.$el.querySelector("#right-stats")


if (target !== null) { if (target !== null) {
target.scrollBy({ top: 0, left: -event.deltaY, behavior: 'smooth' })
target.scrollBy({ top: 0, left: event.deltaY, behavior: 'smooth' })
} }
} }
} }


Loading…
Cancel
Save