From 8a9670e65f3535f58dcef97d9a26e60827db91f0 Mon Sep 17 00:00:00 2001 From: veryinsanee Date: Thu, 18 Apr 2024 22:17:15 +0200 Subject: [PATCH] Adjust code style again :) --- src/modules/dimensions/Dimensions.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/dimensions/Dimensions.js b/src/modules/dimensions/Dimensions.js index d343e5e78..1772692f4 100644 --- a/src/modules/dimensions/Dimensions.js +++ b/src/modules/dimensions/Dimensions.js @@ -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 ) }) } @@ -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 -