Skip to content

Commit

Permalink
Adjust code style again :)
Browse files Browse the repository at this point in the history
  • Loading branch information
veryinsanee committed Apr 18, 2024
1 parent a0b581d commit 8a9670e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/modules/dimensions/Dimensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default class Dimensions {
Object.entries(this.gridPad).forEach(([k, v]) => {
this.gridPad[k] = Math.max(
v,
gl.markers.largestSize / 1.5
this.w.globals.markers.largestSize / 1.5
)
})
}
Expand All @@ -67,8 +67,9 @@ export default class Dimensions {

this.dimGrid.gridPadFortitleSubtitle()

// After calculating everything, apply padding set by user
// after calculating everything, apply padding set by user
gl.gridHeight = gl.gridHeight - this.gridPad.top - this.gridPad.bottom

gl.gridWidth =
gl.gridWidth -
this.gridPad.left -
Expand Down

0 comments on commit 8a9670e

Please sign in to comment.