Skip to content

Commit 0aec8aa

Browse files
committed
Fix - correctly set pave name #278
1 parent dc7aed1 commit 0aec8aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/core.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ function create(typename, target) {
10931093
create(clTBox, obj);
10941094
extend(obj, { fX1NDC: 0, fY1NDC: 0, fX2NDC: 1, fY2NDC: 1,
10951095
fBorderSize: 0, fInit: 1, fShadowColor: 1,
1096-
fCornerRadius: 0, fOption: 'brNDC', fName: 'title' });
1096+
fCornerRadius: 0, fOption: 'brNDC', fName: '' });
10971097
break;
10981098
case clTAttText:
10991099
extend(obj, { fTextAngle: 0, fTextSize: 0, fTextAlign: 22, fTextColor: 1, fTextFont: 42 });
@@ -1113,7 +1113,7 @@ function create(typename, target) {
11131113
case clTLegend:
11141114
create(clTPave, obj);
11151115
create(clTAttText, obj);
1116-
extend(obj, { fColumnSeparation: 0, fEntrySeparation: 0.1, fMargin: 0.25, fNColumns: 1, fPrimitives: create(clTList),
1116+
extend(obj, { fColumnSeparation: 0, fEntrySeparation: 0.1, fMargin: 0.25, fNColumns: 1, fPrimitives: create(clTList), fName: clTPave,
11171117
fBorderSize: gStyle.fLegendBorderSize, fTextFont: gStyle.fLegendFont, fTextSize: gStyle.fLegendTextSize, fFillColor: gStyle.fLegendFillColor });
11181118
break;
11191119
case clTPaletteAxis:

0 commit comments

Comments
 (0)