forked from microsoft/PowerToys
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ColorPicker]Revert turning the main window into a FluentWindow (micr…
…osoft#32209) This reverts commit 62d278b. Making the Color Picker windows be a Fluent Windows is making it not be drawn on very specific configuration. Yanking it out for release until we can figure it out.
- Loading branch information
1 parent
a24ffb3
commit b0c8e8b
Showing
2 changed files
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,29 @@ | ||
<ui:FluentWindow | ||
<Window | ||
x:Class="ColorPicker.MainWindow" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:behaviors="clr-namespace:ColorPicker.Behaviors" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:e="http://schemas.microsoft.com/xaml/behaviors" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" | ||
Width="120" | ||
Height="64" | ||
MinWidth="0" | ||
MinHeight="0" | ||
AllowsTransparency="True" | ||
AutomationProperties.Name="Color Picker" | ||
Background="Transparent" | ||
ExtendsContentIntoTitleBar="True" | ||
Opacity="0.1" | ||
ResizeMode="NoResize" | ||
ShowInTaskbar="False" | ||
SizeToContent="WidthAndHeight" | ||
SourceInitialized="MainWindowSourceInitialized" | ||
Topmost="True" | ||
WindowCornerPreference="Default" | ||
WindowStyle="None" | ||
mc:Ignorable="d"> | ||
<e:Interaction.Behaviors> | ||
<behaviors:ChangeWindowPositionBehavior /> | ||
<behaviors:AppearAnimationBehavior /> | ||
</e:Interaction.Behaviors> | ||
<ContentControl x:Name="MainView" Content="{Binding MainViewModel}" /> | ||
</ui:FluentWindow> | ||
</Window> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters