diff --git a/src/components/keyboard/KeyCommon.vue b/src/components/keyboard/KeyCommon.vue index 93cc639..cba0c85 100644 --- a/src/components/keyboard/KeyCommon.vue +++ b/src/components/keyboard/KeyCommon.vue @@ -148,7 +148,7 @@ function showSetting() { "keyboardElement" ) as HTMLElement; const maxWidth = keyboardElement.clientWidth - 150; - const maxHeight = keyboardElement.clientHeight - 220; + const maxHeight = keyboardElement.clientHeight - 300; settingPosX.value = Math.min(keyMapping.value.posX + 25, maxWidth); settingPosY.value = Math.min(keyMapping.value.posY - 25, maxHeight); @@ -219,6 +219,14 @@ function showSetting() { @update:value="keyboardStore.edited = true" /> + + + + + + + + + + + +