Skip to content

Commit fa07d10

Browse files
committed
Code formatting
1 parent 908d4a1 commit fa07d10

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

modules/gpad/RAxisPainter.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,8 @@ class RAxisPainter extends RObjectPainter {
222222
createTicks(only_major_as_array, optionNoexp, optionNoopt, optionInt) {
223223
if (optionNoopt && this.nticks && (this.kind === kAxisNormal)) this.noticksopt = true;
224224

225-
const handle = { nminor: 0, nmiddle: 0, nmajor: 0, func: this.func };
226-
227-
handle.minor = handle.middle = handle.major = this.produceTicks(this.nticks);
225+
const ticks = this.produceTicks(this.nticks),
226+
handle = { nminor: 0, nmiddle: 0, nmajor: 0, func: this.func, minor: ticks, middle: ticks, major: ticks };
228227

229228
if (only_major_as_array) {
230229
const res = handle.major, delta = (this.scale_max - this.scale_min)*1e-5;

modules/gpad/TAxisPainter.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,6 @@ class TAxisPainter extends ObjectPainter {
606606
} else
607607
ticks = this.produceTicks(this.nticks);
608608

609-
610609
handle.minor = handle.middle = handle.major = ticks;
611610

612611
if (only_major_as_array) {

0 commit comments

Comments
 (0)