zydx-plus 1.33.445 → 1.33.447
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
|
@@ -537,6 +537,7 @@ export default {
|
|
|
537
537
|
this.top = e.clientY - this.topOffset;
|
|
538
538
|
},
|
|
539
539
|
mouseup(e) {
|
|
540
|
+
console.log(stayTime)
|
|
540
541
|
clearInterval(timer)
|
|
541
542
|
if (stayTime <= 100 && this.pressDown) { // 如果小于100就是点击事件
|
|
542
543
|
if (!this.toolArr[this.toolIndex]) {
|
|
@@ -833,6 +834,7 @@ export default {
|
|
|
833
834
|
height: calc(100% - 30px);
|
|
834
835
|
background-color: #fff;
|
|
835
836
|
padding: 0 10px 10px 10px;
|
|
837
|
+
box-sizing: border-box;
|
|
836
838
|
}
|
|
837
839
|
.paint-buts{
|
|
838
840
|
padding: 10px;
|
|
@@ -188,7 +188,7 @@ export default {
|
|
|
188
188
|
this.styleProps('text', 'color').defaultValue = v?.color ?? 'black'
|
|
189
189
|
this.styleProps('text', 'size').defaultValue = v?.size ?? 'm'
|
|
190
190
|
this.styleProps('text', 'font').defaultValue = v?.font ?? 'draw' //['draw', 'sans', 'serif', 'mono']
|
|
191
|
-
this.styleProps('text', 'align').defaultValue = v?.align ?? 'start'
|
|
191
|
+
// this.styleProps('text', 'align').defaultValue = v?.align ?? 'start'
|
|
192
192
|
editorAPP.setCurrentTool('text')
|
|
193
193
|
},
|
|
194
194
|
note(v) {
|