Skip to content

Commit

Permalink
Remove over sepcified naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosuavio committed Jun 28, 2021
1 parent 3d8fa7c commit 7e82652
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ private void Load()
var index = int.TryParse(indexInput.Text, out var i) ? i : 0;
var itemPlacement = itemPlacementInput.SelectedItem switch
{
"Default" => UI.ItemPlacement.Default,
"Left" => UI.ItemPlacement.Left,
"Top" => UI.ItemPlacement.Top,
"Center" => UI.ItemPlacement.Center,
"Right" => UI.ItemPlacement.Right,
"Bottom" => UI.ItemPlacement.Bottom,
_ => UI.ItemPlacement.Default
"Default" => ItemPlacement.Default,
"Left" => ItemPlacement.Left,
"Top" => ItemPlacement.Top,
"Center" => ItemPlacement.Center,
"Right" => ItemPlacement.Right,
"Bottom" => ItemPlacement.Bottom,
_ => ItemPlacement.Default
};

var disableAnimation = disableAnimationInput.IsChecked ?? false;
Expand Down

0 comments on commit 7e82652

Please sign in to comment.