Commit 0442b642 authored by Adam Barth's avatar Adam Barth

Fix TextDecoration.lineThrough

We had a typo in our CSS translation.
parent 6bdd2883
...@@ -135,7 +135,7 @@ class TextStyle { ...@@ -135,7 +135,7 @@ class TextStyle {
TextDecoration.none: 'none', TextDecoration.none: 'none',
TextDecoration.underline: 'underline', TextDecoration.underline: 'underline',
TextDecoration.overline: 'overline', TextDecoration.overline: 'overline',
TextDecoration.lineThrough: 'lineThrough' TextDecoration.lineThrough: 'line-through'
}; };
return decoration.map((TextDecoration d) => toCSS[d]).join(' '); return decoration.map((TextDecoration d) => toCSS[d]).join(' ');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment