Skip to content

Commit 819b456

Browse files
committed
Fix - use pad.fFillColor for frame when fFrameFillColor==0
1 parent 2842199 commit 819b456

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Changes in 5.2.x
44
1. Fix - support pow(x,n) function in formula
5+
2. Fix - use pad.fFillColor for frame when fFrameFillColor==0
56

67

78
## Changes in 5.2.3

scripts/JSRootPainter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3381,7 +3381,7 @@
33813381
this.fillatt = this.createAttFill(tframe);
33823382
else
33833383
if (pad)
3384-
this.fillatt = this.createAttFill(null, pad.fFrameFillStyle, pad.fFrameFillColor);
3384+
this.fillatt = this.createAttFill(null, pad.fFrameFillStyle, pad.fFrameFillColor || pad.fFillColor);
33853385
else
33863386
this.fillatt = this.createAttFill(null, 1001, 0);
33873387

0 commit comments

Comments
 (0)