fix cells draw

pull/257/head
Pete Matsyburka 2 years ago
parent e78dd301ef
commit 668f6ca975

@ -219,7 +219,7 @@ export default {
this.newArea.y = e.offsetY / this.$refs.mask.clientHeight
}
if (this.drawField?.type === 'cells') {
if ((this.drawField?.type || this.drawFieldType) === 'cells') {
this.newArea.cell_w = this.newArea.h * (this.$refs.mask.clientHeight / this.$refs.mask.clientWidth)
}

Loading…
Cancel
Save