Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ed5903e

Browse filesBrowse files
author
Vladimir Enchev
committed
text-transform and text-decoration fixed
1 parent 77ef136 commit ed5903e
Copy full SHA for ed5903e

File tree

Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-5
lines changed

‎ui/button/button-common.ts

Copy file name to clipboardExpand all lines: ui/button/button-common.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ var formattedTextProperty = new dependencyObservable.Property(
3535

3636
function onTextPropertyChanged(data: dependencyObservable.PropertyChangeData) {
3737
var button = <Button>data.object;
38+
39+
button._onTextPropertyChanged(data);
3840

3941
button.style._updateTextDecoration();
40-
button.style._updateTextTransform();
41-
42-
button._onTextPropertyChanged(data);
42+
button.style._updateTextTransform();
4343
}
4444

4545
function onFormattedTextPropertyChanged(data: dependencyObservable.PropertyChangeData) {

‎ui/text-base/text-base-common.ts

Copy file name to clipboardExpand all lines: ui/text-base/text-base-common.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ var formattedTextProperty = new dependencyObservable.Property(
2929
function onTextPropertyChanged(data: dependencyObservable.PropertyChangeData) {
3030
var textBase = <TextBase>data.object;
3131

32+
textBase._onTextPropertyChanged(data);
33+
3234
textBase.style._updateTextTransform();
3335
textBase.style._updateTextDecoration();
34-
35-
textBase._onTextPropertyChanged(data);
3636
}
3737

3838
(<proxy.PropertyMetadata>textProperty.metadata).onSetNativeValue = onTextPropertyChanged;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.