-
Notifications
You must be signed in to change notification settings - Fork 242
Changes for color picker kit #4
base: master
Are you sure you want to change the base?
Conversation
…ColorPicker make more sence.
…er, also to make it more accurate to picker a color
|
@smileShirely feel free to review pr, thanks! |
|
access |
Vanson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KevinZhang19870314 I'm glad to see your PR. But could you consider split the changes to multiple PRs?
And the new feature of color picker seems to be a small problem. The picking point has a incorrect offset.
| ..translate(-newX, -newY); | ||
| _matrix = newMatrix; | ||
| _searchPixel(dragDetails.globalPosition); | ||
| _searchPixel(Offset(newX, newY)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be known issue in original code, not cause by the PR. @smileShirely
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, you can see the ss below, I am using the original code and test it on one plus 8T.
The repro branch




fix: 1. fix dart warnings; 2. ColorSucker sounds weird, change it to ColorPicker make more sence.