Skip to content

Commit

Permalink
fixes rtl unicode-bidi setting
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Aug 19, 2017
1 parent 85f95f0 commit 291e1f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export default class TextBox extends BaseClass {
function tspanStyle(tspan) {
tspan
.text(t => trimRight(t))
.attr("unicode-bidi", "bidi-override")
.attr("unicode-bidi", "isolate")
.attr("x", `${d.x}px`)
.attr("dx", (l, i) => `${align === "end" ? d.w - d.widths[i] : align === "middle" ? (d.w - d.widths[i]) / 2 : 0}px`)
.attr("dy", `${d.lH}px`);
Expand Down

0 comments on commit 291e1f2

Please sign in to comment.