Fix mapping layout blocks when grid not editable
This commit is contained in:
parent
b43da9f96b
commit
54231e53c8
@ -141,6 +141,8 @@ export default {
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
onLayoutUpdated () {
|
onLayoutUpdated () {
|
||||||
|
if (!this.editable) return
|
||||||
|
|
||||||
this.resizing = false
|
this.resizing = false
|
||||||
|
|
||||||
this.blocks.forEach(({ xywh = [] }, idx) => {
|
this.blocks.forEach(({ xywh = [] }, idx) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user