projects
/
platform
/
core
/
csapi
/
xsf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49cac3c
)
Change Label instance to type in font size for the little performance
author
pius.lee
<pius.lee@samsung.com>
Tue, 7 Jan 2020 02:36:25 +0000
(11:36 +0900)
committer
pius.lee
<pius.lee@samsung.com>
Tue, 7 Jan 2020 02:38:05 +0000
(11:38 +0900)
Xamarin.Forms.Core/Span.cs
patch
|
blob
|
history
diff --git
a/Xamarin.Forms.Core/Span.cs
b/Xamarin.Forms.Core/Span.cs
index
ab691f3
..
dddf29d
100644
(file)
--- a/
Xamarin.Forms.Core/Span.cs
+++ b/
Xamarin.Forms.Core/Span.cs
@@
-135,7
+135,7
@@
namespace Xamarin.Forms
}
double IFontElement.FontSizeDefaultValueCreator() =>
- Device.GetNamedSize(NamedSize.Default,
new Label(
));
+ Device.GetNamedSize(NamedSize.Default,
typeof(Label
));
void IFontElement.OnFontAttributesChanged(FontAttributes oldValue, FontAttributes newValue)
{