Skip to content

Commit 0840d82

Browse files
committed
add new mocks using both inside-text-orientation and uniformtext
1 parent 15ce24d commit 0840d82

7 files changed

+809
-11
lines changed

src/traces/sunburst/plot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ function plotOne(gd, cd, element, transitionOpts) {
274274
transform.fontSize = font.size;
275275
recordMinTextSize(trace.type, transform, fullLayout);
276276

277-
return Lib.getTextTransform(transform, true);
277+
return Lib.getTextTransform(transform);
278278
};
279279

280280
if(hasTransition) {
Loading
Loading

test/image/mocks/sunburst_inside-text-orientation.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,6 @@
335335
"l": 10,
336336
"r": 10
337337
},
338-
"legend": {
339-
"title": {
340-
"text": "<b>inside text orientation</b>"
341-
}
342-
},
343338
"font": {
344339
"size": 14
345340
},

test/image/mocks/sunburst_inside-text-orientation_clock.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,6 @@
302302
"l": 10,
303303
"r": 10
304304
},
305-
"legend": {
306-
"title": {
307-
"text": "<b>inside text orientation</b>"
308-
}
309-
},
310305
"font": {
311306
"size": 14
312307
},

0 commit comments

Comments
 (0)