diff --git a/src/components/editor/EditorInput.vue b/src/components/editor/EditorInput.vue
index 6df32ee..c8a38f6 100644
--- a/src/components/editor/EditorInput.vue
+++ b/src/components/editor/EditorInput.vue
@@ -207,6 +207,7 @@ defineExpose({
@keydown="onKeyDown"
@click="onCursorActivity"
@keyup="onCursorActivity"
+ @blur="emit('locate-token', -1)"
placeholder="例如:1girl, aaa, bbb, ccc"
>
@@ -386,7 +387,7 @@ defineExpose({
align-items: center;
padding: 0;
border: 1px solid var(--color-border);
- border-radius: 999px;
+ border-radius: var(--radius-md);
background-color: var(--color-bg-secondary);
cursor: pointer;
overflow: hidden;
@@ -419,17 +420,17 @@ defineExpose({
.pe-mode-knob {
position: absolute;
top: 2px;
+ bottom: 2px;
left: 2px;
- width: calc(50% - 2px);
- height: calc(100% - 4px);
- border-radius: 999px;
+ width: calc(50% - 4px);
+ border-radius: var(--radius-sm);
background-color: var(--color-accent);
box-shadow: var(--shadow-sm);
transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.pe-mode-toggle.is-numeric .pe-mode-knob {
- transform: translateX(100%);
+ transform: translateX(calc(100% + 4px));
}
.pe-priority-label {