feat(创建编辑): 支持多选缩放与对齐参考线,完善缺字恢复和字体切换
build.yaml / build (push) Successful in 37s

This commit is contained in:
xiaoqidun committed 2026-09-15 23:02:33 +08:00
1 parent d7e2456f67
commit 105590d6d7
3 files changed
+164 -48

No files matched your search

+9 -7
View File
@@ -171,11 +171,6 @@ a:focus-visible {
opacity: 1;
}
.editor-group:has(#shapeFill) .editor-field {
grid-template-columns: 2em 100px;
justify-content: end;
}
.editor-group:has(#textFont) {
grid-template-columns: 100px 54px;
}
@@ -1277,7 +1272,8 @@ button.outline-link:hover {
}
.edit-object:hover,
.edit-object.selected {
.edit-object.selected,
.edit-selection {
outline: calc(1px / var(--surface-scale)) solid var(--accent);
}
@@ -1301,7 +1297,8 @@ button.outline-link:hover {
transform: translate(-50%, -50%);
}
.selected .edit-handle {
.selected .edit-handle,
.edit-selection .edit-handle {
display: block;
}
@@ -1309,6 +1306,11 @@ button.outline-link:hover {
display: none;
}
.edit-selection .edit-handle {
pointer-events: auto;
touch-action: none;
}
.edit-handle::before {
position: absolute;
inset: calc(-8px / var(--surface-scale));