Skip to content

Commit f5370c5

Browse files
committed
Fix "Italic" check state getting out of sync when re-selecting text
1 parent a4d7309 commit f5370c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Microsoft.Toolkit.Uwp.UI.Controls/InfiniteCanvas/InfiniteCanvas.TextBox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private void InkScrollViewer_PointerPressed(object sender, PointerRoutedEventArg
184184
_canvasTextBoxColorPicker.Color = SelectedTextDrawable.TextColor;
185185
_canvasTextBoxFontSizeTextBox.Text = SelectedTextDrawable.FontSize.ToString();
186186
_canvasTextBoxBoldButton.IsChecked = SelectedTextDrawable.IsBold;
187-
_canvasTextBoxItalicButton.IsChecked = SelectedTextDrawable.IsBold;
187+
_canvasTextBoxItalicButton.IsChecked = SelectedTextDrawable.IsItalic;
188188

189189
return;
190190
}

0 commit comments

Comments
 (0)