Skip to content

Commit

Permalink
bugfix(heightmap): fix dataShape for all bed_mesh ratios (Y, X) inste…
Browse files Browse the repository at this point in the history
…ad of (X, Y)

Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou committed Aug 21, 2021
1 parent d5218ca commit 3f0d595
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/Heightmap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
})
serie.data = data
serie.dataShape = [xCount, yCount]
serie.dataShape = [yCount, xCount]
}
return serie
Expand Down Expand Up @@ -561,7 +561,7 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
})
serie.data = data
serie.dataShape = [xCount, yCount]
serie.dataShape = [yCount, xCount]
}
return serie
Expand Down Expand Up @@ -626,7 +626,7 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
}
serie.data = data
serie.dataShape = [xCount, yCount]
serie.dataShape = [yCount, xCount]
}
return serie
Expand Down

0 comments on commit 3f0d595

Please sign in to comment.