Remove direction button
This commit is contained in:
@@ -137,6 +137,9 @@
|
||||
<PathIcon Data="{StaticResource OrderedListPathIcon}" />
|
||||
</AppBarToggleButton.Icon>
|
||||
</AppBarToggleButton>
|
||||
|
||||
<AppBarSeparator />
|
||||
|
||||
<AppBarButton
|
||||
x:Name="DecreaseIndentButton"
|
||||
Width="48"
|
||||
@@ -157,18 +160,6 @@
|
||||
<PathIcon Data="{StaticResource IncreaseIndentPathIcon}" />
|
||||
</AppBarButton.Icon>
|
||||
</AppBarButton>
|
||||
<AppBarSeparator />
|
||||
|
||||
<AppBarToggleButton
|
||||
x:Name="DirectionButton"
|
||||
Width="48"
|
||||
Click="DirectionButtonClicked"
|
||||
Label="Direction"
|
||||
ToolTipService.ToolTip="Direction">
|
||||
<AppBarToggleButton.Icon>
|
||||
<PathIcon Data="{StaticResource ParagraphPathIcon}" />
|
||||
</AppBarToggleButton.Icon>
|
||||
</AppBarToggleButton>
|
||||
|
||||
<AppBarElementContainer VerticalAlignment="Center">
|
||||
<ComboBox x:Name="AlignmentListView" SelectionChanged="AlignmentChanged">
|
||||
|
||||
@@ -170,11 +170,6 @@ namespace Wino.Dialogs
|
||||
await InvokeScriptSafeAsync("editor.execCommand('outdent')");
|
||||
}
|
||||
|
||||
private async void DirectionButtonClicked(object sender, RoutedEventArgs e)
|
||||
{
|
||||
await InvokeScriptSafeAsync("document.getElementById('directionButton').click();");
|
||||
}
|
||||
|
||||
private async void AlignmentChanged(object sender, SelectionChangedEventArgs e)
|
||||
{
|
||||
var selectedItem = AlignmentListView.SelectedItem as ComboBoxItem;
|
||||
|
||||
Reference in New Issue
Block a user