Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Set the brush to lower size #64

Open
james04gr opened this issue Sep 9, 2020 · 3 comments
Open

Set the brush to lower size #64

james04gr opened this issue Sep 9, 2020 · 3 comments

Comments

@james04gr
Copy link

I want to open the Editor and have the brush functionality but i want to use a lower size as a default. Is there any way to do this?

@james04gr
Copy link
Author

Just a reminder in case you didn t see it!

@thirstycoda
Copy link

This isn't my library but I thought I'd take a little look.

It looks like the default brush size is hardcoded here:

This means you have a few options:

  1. Fork the library and change the hardcoded value to whatever you want
  2. Fork the library and add a configurable default brush size then create a pull request so others can benefit from it
  3. Use https://github.com/burhanrashid52/PhotoEditor instead although that library doesn't have a crop feature which is the only reason I didn't use that library instead of this one

@iamutkarshtiwari
Copy link
Owner

@thirstycoda The default value of the brush size is indeed hardcoded. However, it's possible to change the brush size from the interface I provided in Paint mode (the gear icon on tap left)

@james04gr Please refer to the demo video below on how to change the brush size.

brush.size.mp4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants