Skip to content

Commit

Permalink
Minor visual alterations to flag editor
Browse files Browse the repository at this point in the history
highlight newly added entry, change icon
  • Loading branch information
pizzaboxer committed Jul 23, 2023
1 parent 52b6a60 commit b263621
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Bloxstrap/UI/Elements/Menu/Pages/FastFlagEditorPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ private void AddButton_Click(object sender, RoutedEventArgs e)

_fastFlagList.Add(entry);

DataGrid.SelectedItem = entry;
DataGrid.ScrollIntoView(entry);

App.FastFlags.SetValue(entry.Name, entry.Value);
}

Expand Down
2 changes: 1 addition & 1 deletion Bloxstrap/UI/Elements/Menu/Pages/FastFlagsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>

<ui:CardAction Grid.Column="0" Margin="0,0,4,0" Icon="WindowDevEdit20" Command="{Binding OpenFastFlagEditorCommand}">
<ui:CardAction Grid.Column="0" Margin="0,0,4,0" Icon="EditSettings24" Command="{Binding OpenFastFlagEditorCommand}">
<StackPanel>
<TextBlock FontSize="14" Text="FastFlag Editor" />
<TextBlock Margin="0,2,0,0" FontSize="12" Text="Manage your own FastFlags." Padding="0,0,16,0" Foreground="{DynamicResource TextFillColorTertiaryBrush}" />
Expand Down

0 comments on commit b263621

Please sign in to comment.