Skip to content

Commit b8e05cd

Browse files
committed
Fix typo
1 parent f363187 commit b8e05cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/gpad/TPadPainter.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,8 +1204,8 @@ class TPadPainter extends ObjectPainter {
12041204
menu.add('Save to gStyle', () => {
12051205
if (!this.pad) return;
12061206
this.fillatt?.saveToStyle(this.iscan ? 'fCanvasColor' : 'fPadColor');
1207-
gStyle.fPadGridX = this.pad.fGridX;
1208-
gStyle.fPadGridY = this.pad.fGridX;
1207+
gStyle.fPadGridX = this.pad.fGridx;
1208+
gStyle.fPadGridY = this.pad.fGridy;
12091209
gStyle.fPadTickX = this.pad.fTickx;
12101210
gStyle.fPadTickY = this.pad.fTicky;
12111211
gStyle.fOptLogx = this.pad.fLogx;

0 commit comments

Comments
 (0)