Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add the strokeWidthOnChanged callback. #19

Merged
merged 2 commits into from
Mar 19, 2024
Merged

Conversation

yfming93
Copy link
Contributor

@yfming93 yfming93 commented Mar 19, 2024

feat: add the strokeWidthOnChanged callback. A callback function that will be called when the stroke width on changed. It is convenient without having to set different stroke width every time you in painting. Different widths for different people. Set once ,used the last width at any time.

paintEditorConfigs : PaintEditorConfigs(
   initialStrokeWidth: myLocalizedStorageWidth,
   strokeWidthOnChanged: (x){
     myLocalizedStorageWidth = x;
   }
 ),
image

A callback function that will be called when the stroke width on changed.
Copy link
Contributor Author

@yfming93 yfming93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had reviewed.

@hm21 hm21 merged commit ec10d4d into hm21:stable Mar 19, 2024
@MarcioPereira155
Copy link

I have an infinite loop after finishing the edited image, the message Changes are being applied appears, and it does not return to the previous page, does anyone know why?

@Kora3 Kora3 mentioned this pull request Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants