Nerogar / OneTrainer

OneTrainer is a one-stop solution for all your stable diffusion training needs.
GNU Affero General Public License v3.0
1.81k stars 153 forks source link

Support very small brushes in the mask editor #489

Closed Arcitec closed 1 month ago

Arcitec commented 1 month ago

The recent refactor of mouse-wheel handling inadvertently made the lowest mask brush size a bit too big. This extends the lower range to allow very small brushes to be used.

Also fixes a small leftover import in related files.