Skip to content

Commit 4968526

Browse files
authored
fix: 修复了部分模型键位图错位的问题 (#550)
1 parent 54b9b9f commit 4968526

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/pages/main/index.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,14 @@ function resolveImagePath(key: string, side: 'left' | 'right' = 'left') {
9696
<img
9797
v-for="key in pressedLeftKeys"
9898
:key="key"
99+
class="object-contain"
99100
:src="resolveImagePath(key)"
100101
>
101102

102103
<img
103104
v-for="key in pressedRightKeys"
104105
:key="key"
106+
class="object-contain"
105107
:src="resolveImagePath(key, 'right')"
106108
>
107109

0 commit comments

Comments
 (0)