Skip to content

Commit

Permalink
fix: #4297 use correct opacity for disabled color picker
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Oct 22, 2024
1 parent 62e5e7b commit 6341c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MahApps.Metro/Themes/ColorPicker/ColorPicker.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="{TemplateBinding mah:ControlsHelper.CornerRadius}"
IsHitTestVisible="False"
Opacity="0.6"
Opacity="0"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
Visibility="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(mah:ControlsHelper.DisabledVisualElementVisibility), Mode=OneWay}" />

Expand Down

0 comments on commit 6341c42

Please sign in to comment.