Skip to content

Commit

Permalink
Remove unnecessary title bar control
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Sep 29, 2024
1 parent 66f5614 commit eb7b119
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions samples/ComputeSharp.SwapChain.Uwp/Views/MainView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<Grid x:Name="Root">
<Grid.DataContext>
<viewModels:MainViewModel x:Name="ViewModel"/>
<viewModels:MainViewModel x:Name="ViewModel" />
</Grid.DataContext>
<Grid.Resources>

Expand Down Expand Up @@ -252,14 +252,6 @@
</Button>
</StackPanel>

<!-- Invisible title bar -->
<Rectangle
x:Name="TitleBarRectangle"
Height="32"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
Fill="Transparent" />

<!-- Info bar -->
<muxc:InfoBar
x:Name="RenderingErrorInfoBar"
Expand Down
2 changes: 1 addition & 1 deletion samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<Grid x:Name="Root">
<Grid.DataContext>
<viewModels:MainViewModel x:Name="ViewModel"/>
<viewModels:MainViewModel x:Name="ViewModel" />
</Grid.DataContext>
<Grid.Resources>

Expand Down

0 comments on commit eb7b119

Please sign in to comment.