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 cf2efe1 commit bc22944Copy full SHA for bc22944
scripts/JSRootPainter.js
@@ -3970,12 +3970,12 @@
3970
this['zoom_zmax'] = 0;
3971
3972
if ((pad!=null) && ('fUxmin' in pad) && !this.create_canvas) {
3973
- if (pad.fUxmin !== this['histo']['fXaxis']['fXmin'] &&
+ if (pad.fUxmin !== this['histo']['fXaxis']['fXmin'] ||
3974
pad.fUxmax !== this['histo']['fXaxis']['fXmax']) {
3975
this['zoom_xmin'] = pad.fUxmin;
3976
this['zoom_xmax'] = pad.fUxmax;
3977
}
3978
- if (pad.fUymin !== this['histo']['fYaxis']['fXmin'] &&
+ if (pad.fUymin !== this['histo']['fYaxis']['fXmin'] ||
3979
pad.fUymax !== this['histo']['fYaxis']['fXmax']) {
3980
this['zoom_ymin'] = pad.fUymin;
3981
this['zoom_ymax'] = pad.fUymax;
0 commit comments