Skip to content

Commit 870265a

Browse files
committed
update comment
1 parent 6691449 commit 870265a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scales/scale.time.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,8 +784,8 @@ module.exports = Scale.extend({
784784
var exampleLabel = me.tickFormatFunction(exampleTime, 0, [], format);
785785
var tickLabelWidth = me.getLabelWidth(exampleLabel);
786786

787-
// Using marings instead of padding because padding is not calculated
788-
// at this point, but margins are provided from previous calculation
787+
// Using margins instead of padding because padding is not calculated
788+
// at this point (buildTicks). Margins are provided from previous calculation
789789
// in layout steps 5/6
790790
var innerWidth = me.isHorizontal()
791791
? me.width - (margins.left + margins.right)

0 commit comments

Comments
 (0)