Skip to content

Commit 08c5312

Browse files
committed
Improving showcase
1 parent 540ba9b commit 08c5312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Fluent.Ribbon.Showcase/TestContent.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ private void ZoomSlider_OnValueChanged(object sender, RoutedPropertyChangedEvent
512512
return;
513513
}
514514

515-
var textFormattingMode = e.NewValue >= 1.0 || DoubleUtil.AreClose(e.NewValue, 1.0) ? TextFormattingMode.Ideal : TextFormattingMode.Display;
515+
var textFormattingMode = DoubleUtil.AreClose(e.NewValue, 1.0) ? TextFormattingMode.Display : TextFormattingMode.Ideal;
516516
TextOptions.SetTextFormattingMode(window, textFormattingMode);
517517
}
518518

0 commit comments

Comments
 (0)