feat(image-vectorize): 编辑器改全屏铺满(对齐标注),去灰边 v0.5.0
.vz-modal 由居中卡片 96vw×92vh(圆角+阴影,四周露出 .vz-root 半透明灰蒙层)改为 100vw×100vh 铺满、去圆角/阴影/边框,窄屏覆盖同步改全屏。视觉与标注 .iwb-editor-modal 统一。 两处 version 一致 0.4.2→0.5.0,validate 10/10。 未实测:全屏后内部布局(header/画布/参数面板)是否错位,需上架市场后客户端更新验证。
This commit is contained in:
1 parent
a1d0a8e980
commit
e5e1c25c24
2 files changed
+11
-11
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@iwb-plugin/image-vectorize",
|
||||
"private": true,
|
||||
"version": "0.4.2",
|
||||
"version": "0.5.0",
|
||||
"description": "位图转矢量:potrace(纯 JS)单色/灰度描摹,输出 SVG 与 PNG 节点;对文字、logo、线稿保形好,不需要 wasm",
|
||||
"ibwPlugin": {
|
||||
"id": "image-vectorize",
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
var __IWB_VECTORIZE_MANIFEST__ = {
|
||||
id: 'image-vectorize',
|
||||
name: '位图转矢量',
|
||||
version: '0.4.2',
|
||||
version: '0.5.0',
|
||||
apiVersion: 1,
|
||||
capabilities: ['commands', 'nodeActions', 'canvas', 'canvasWrite'],
|
||||
settings: {
|
||||
@@ -2023,15 +2023,15 @@ var __IWB_VECTORIZE_MANIFEST__ = {
|
||||
.vz-modal {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 92vw;
|
||||
height: 88vh;
|
||||
min-width: 760px;
|
||||
min-height: 520px;
|
||||
max-width: 1680px;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
max-width: none;
|
||||
background: #1b1b22;
|
||||
border: 1px solid #33333f;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -2519,7 +2519,7 @@ var __IWB_VECTORIZE_MANIFEST__ = {
|
||||
|
||||
/* 窄屏:面板转到底部 */
|
||||
@media (max-width: 900px) {
|
||||
.vz-modal { width: 96vw; height: 92vh; min-width: 0; }
|
||||
.vz-modal { width: 100vw; height: 100vh; min-width: 0; }
|
||||
.vz-body { flex-direction: column; }
|
||||
.vz-panel { width: auto; max-height: 46%; border-left: 0; border-top: 1px solid #2e2e3a; }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user