Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
228469bb
Commit
228469bb
authored
Oct 23, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable the new TextPainter
parent
54956963
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
text_painter.dart
packages/flutter/lib/src/painting/text_painter.dart
+1
-1
text_style.dart
packages/flutter/lib/src/painting/text_style.dart
+1
-2
No files found.
packages/flutter/lib/src/painting/text_painter.dart
View file @
228469bb
...
...
@@ -119,7 +119,7 @@ class StyledTextSpan extends TextSpan {
}
}
const
bool
_kEnableNewTextPainter
=
fals
e
;
const
bool
_kEnableNewTextPainter
=
tru
e
;
abstract
class
TextPainter
{
...
...
packages/flutter/lib/src/painting/text_style.dart
View file @
228469bb
...
...
@@ -166,8 +166,7 @@ class TextStyle {
ui
.
ParagraphStyle
get
paragraphStyle
{
return
new
ui
.
ParagraphStyle
(
// TODO(abarth): Restore once the analyzer can see the new dart:ui interface.
// textAlign: textAlign,
textAlign:
textAlign
,
textBaseline:
textBaseline
,
lineHeight:
height
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment