Skip to content

Commit 4dcbdb2

Browse files
authored
Merge pull request #1054 from Microsoft/backCompat
Back compat
2 parents 8eb2d96 + a4067d6 commit 4dcbdb2

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Microsoft.Toolkit.Uwp.UI.Controls/MarkdownTextBlock/Parse/Inlines/ImageInline.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ internal static Common.InlineParseResult Parse(string markdown, int start, int e
123123
{
124124
Tooltip = tooltip,
125125
Url = url,
126-
Text = markdown.Substring(start, pos + 1)
126+
Text = markdown.Substring(start, pos + 1 - start)
127127
};
128128
return new Common.InlineParseResult(result, start, end);
129129
}

Microsoft.Toolkit.Uwp.UI.Controls/RangeSelector/RangeSelector.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ protected override void OnApplyTemplate()
179179

180180
IsEnabledChanged += RangeSelector_IsEnabledChanged;
181181

182-
ArrangeForTouch();
183-
184182
base.OnApplyTemplate();
185183
}
186184

0 commit comments

Comments
 (0)