@zhangqingcq/vgce 0.1.16 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -164,7 +164,9 @@
|
|
164
164
|
<div>在画布空白区域按住右键可拖动画布,右侧面板‘图纸’栏可微调或重置位置</div>
|
165
165
|
<div class="el-divider el-divider--horizontal" role="separator" style="--el-border-style: solid"></div>
|
166
166
|
<div class="font-bold mb-10px text-15px guide-title">画布缩放</div>
|
167
|
-
<div
|
167
|
+
<div
|
168
|
+
>在画布中使用鼠标滚轮或者右侧面板‘图纸’栏可控制画布缩放,鼠标滚轮以鼠标位置为缩放中心,图纸栏以图纸原点(默认在左上角)为缩放中心</div
|
169
|
+
>
|
168
170
|
<div class="el-divider el-divider--horizontal" role="separator" style="--el-border-style: solid"></div>
|
169
171
|
<div class="font-bold mb-10px text-15px guide-title">标尺辅助线</div>
|
170
172
|
<div>在标尺区域按住鼠标左键并拖动即可创建标尺辅助线,将标尺辅助线拖动到标尺区域即可删除标尺辅助线</div>
|
@@ -206,6 +206,8 @@
|
|
206
206
|
for (let a of e.attrs) {
|
207
207
|
if (a.key === 'state') {
|
208
208
|
t.defaultState = valFormat(a.val)
|
209
|
+
} else if (a.key === 'display') {
|
210
|
+
t.display = valFormat(a.val)
|
209
211
|
} else if (t.props.hasOwnProperty(a.key)) {
|
210
212
|
t.props[a.key].val = valFormat(a.val)
|
211
213
|
}
|