PixiEditor / ColorPicker

Customizable Color Picker control for WPF and AvaloniaUI
https://pixieditor.net/colorpicker
MIT License
262 stars 27 forks source link

Circular Hue Slider No Filled #21

Open jamsoft opened 2 years ago

jamsoft commented 2 years ago

No matter what I try the circular Hue slider in all controls is empty. Not filled with the colour range.

Equbuxu commented 2 years ago

This sounds quite strange and I'm not sure how to reproduce it. The color range is just an image (https://github.com/PixiEditor/ColorPicker/blob/master/src/ColorPicker/Images/CircularHueGradient.png) and the same goes for the saturation-values square. I'd expect both of them to break if there is an issue with image rendering. Do you have some specific setup and/or are you using some of the older .NET versions?

nkarasch commented 2 years ago

I'm a bit late but having images styled to a set size can reproduce it.

 <Window.Resources>
      <Style TargetType="{x:Type Image}">
           <Setter Property="Width" Value="16"/>
           <Setter Property="Height" Value="16"/>
      </Style>
 </Window.Resources>
 <colorpicker:StandardColorPicker/>