rydmike / flex_color_picker

A highly customizable Flutter color picker.
BSD 3-Clause "New" or "Revised" License
200 stars 42 forks source link

High wheelWidth cause wrong cursor position in the ColorPicker #44

Closed TheKiHub closed 2 years ago

TheKiHub commented 2 years ago

When the wheelWidth is high the cursor inside the wheel get a few problems.

The cursor can get outside of the Square and under the wheel itself. Also is the position only in the middle the same like the mouse position, at the edges it get an offset.

I tested this on:

It looks like the position is calculated without the wheel.

rydmike commented 2 years ago

Thanks @buffedNerd, agreed, that is a bug, fix in v2.3.2 coming.

rydmike commented 2 years ago

Fixed via https://github.com/rydmike/flex_color_picker/pull/46. Release on pub in a few minutes as version 2.4.0.