Skip to content

Commit bc22944

Browse files
committed
Minimal fix
1 parent cf2efe1 commit bc22944

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/JSRootPainter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3970,12 +3970,12 @@
39703970
this['zoom_zmax'] = 0;
39713971

39723972
if ((pad!=null) && ('fUxmin' in pad) && !this.create_canvas) {
3973-
if (pad.fUxmin !== this['histo']['fXaxis']['fXmin'] &&
3973+
if (pad.fUxmin !== this['histo']['fXaxis']['fXmin'] ||
39743974
pad.fUxmax !== this['histo']['fXaxis']['fXmax']) {
39753975
this['zoom_xmin'] = pad.fUxmin;
39763976
this['zoom_xmax'] = pad.fUxmax;
39773977
}
3978-
if (pad.fUymin !== this['histo']['fYaxis']['fXmin'] &&
3978+
if (pad.fUymin !== this['histo']['fYaxis']['fXmin'] ||
39793979
pad.fUymax !== this['histo']['fYaxis']['fXmax']) {
39803980
this['zoom_ymin'] = pad.fUymin;
39813981
this['zoom_ymax'] = pad.fUymax;

0 commit comments

Comments
 (0)