We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a88b54 + 8f993f1 commit 7a6adaaCopy full SHA for 7a6adaa
src/GridLayout.vue
@@ -187,12 +187,12 @@
187
},
188
methods: {
189
layoutUpdate() {
190
- if (this.layout !== undefined && this.layout.length !== this.lastLayoutLength) {
191
-// console.log("### LAYOUT UPDATE!");
192
- this.lastLayoutLength = this.layout.length;
+ if (this.layout !== undefined) {
+ if (this.layout.length !== this.lastLayoutLength) {
+ //console.log("### LAYOUT UPDATE!");
193
+ this.lastLayoutLength = this.layout.length;
194
+ }
195
compact(this.layout, this.verticalCompact);
-
- //this.$broadcast("updateWidth", this.width);
196
this.eventBus.$emit("updateWidth", this.width);
197
this.updateHeight();
198
}
0 commit comments