We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f363187 commit b8e05cdCopy full SHA for b8e05cd
modules/gpad/TPadPainter.mjs
@@ -1204,8 +1204,8 @@ class TPadPainter extends ObjectPainter {
1204
menu.add('Save to gStyle', () => {
1205
if (!this.pad) return;
1206
this.fillatt?.saveToStyle(this.iscan ? 'fCanvasColor' : 'fPadColor');
1207
- gStyle.fPadGridX = this.pad.fGridX;
1208
- gStyle.fPadGridY = this.pad.fGridX;
+ gStyle.fPadGridX = this.pad.fGridx;
+ gStyle.fPadGridY = this.pad.fGridy;
1209
gStyle.fPadTickX = this.pad.fTickx;
1210
gStyle.fPadTickY = this.pad.fTicky;
1211
gStyle.fOptLogx = this.pad.fLogx;
0 commit comments