Skip to content

Commit

Permalink
[Run] XamlStyler formatting (microsoft#30011)
Browse files Browse the repository at this point in the history
* XamlStyler formatting

* remove unused theme files

* fix formatting
  • Loading branch information
davidegiacometti committed Dec 8, 2023
1 parent b3804a9 commit 9e03386
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 164 deletions.
2 changes: 1 addition & 1 deletion .pipelines/applyXamlStyling.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ if (-not $Passive)
else
{
Write-Output "Checking all files (passively)"
$files = Get-ChildItem -Path "$PSScriptRoot\..\src\*.xaml" -Recurse | Select-Object -ExpandProperty FullName | Where-Object { $_ -notmatch "(\\obj\\)|(\\bin\\)|(\\x64\\)|(\\Generated Files\\PowerRenameXAML\\)|(\\launcher\\PowerLauncher\\)|(\\launcher\\Wox.Plugin\\)|(\\colorPicker\\ColorPickerUI\\)" }
$files = Get-ChildItem -Path "$PSScriptRoot\..\src\*.xaml" -Recurse | Select-Object -ExpandProperty FullName | Where-Object { $_ -notmatch "(\\obj\\)|(\\bin\\)|(\\x64\\)|(\\Generated Files\\PowerRenameXAML\\)|(\\colorPicker\\ColorPickerUI\\)" }

if ($files.count -gt 0)
{
Expand Down
4 changes: 2 additions & 2 deletions src/modules/launcher/PowerLauncher/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
xmlns:vm="clr-namespace:PowerLauncher.ViewModel"
Title="PowerToys Run"
Width="640"
MinHeight="0"
d:DataContext="{d:DesignInstance vm:MainViewModel}"
ui:ExtendsContentIntoTitleBar="True"
AllowDrop="True"
Expand All @@ -27,8 +28,7 @@
Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
WindowStartupLocation="Manual"
WindowStyle="None"
mc:Ignorable="d"
MinHeight="0">
mc:Ignorable="d">

<Grid x:Name="RootGrid" MouseDown="OnMouseDown">
<!-- We set the background here because the Acrylic can be too translucent / background too bright on Light theme -->
Expand Down
111 changes: 0 additions & 111 deletions src/modules/launcher/Wox.Plugin/LibraryThemes/GeneratorParameters.json

This file was deleted.

50 changes: 0 additions & 50 deletions src/modules/launcher/Wox.Plugin/LibraryThemes/Theme.Template.xaml

This file was deleted.

0 comments on commit 9e03386

Please sign in to comment.