Orama-Interactive / Pixelorama

Unleash your creativity with Pixelorama, a powerful and accessible open-source pixel art multitool. Whether you want to create sprites, tiles, animations, or just express yourself in the language of pixel art, this software will realize your pixel-perfect dreams with a vast toolbox of features. Available on Windows, Linux, macOS and the Web!
https://orama-interactive.itch.io/pixelorama
MIT License
7.01k stars 380 forks source link

Add support for InputEventMouseMotion.pen_inverted #966

Closed Ratfink closed 9 months ago

Ratfink commented 9 months ago

This PR adds support for stylus erasers, both for drawing and choosing tools. This may be supported on some styli by inverting them as the property name suggests, or by holding a button while drawing with the nib.

OverloadedOrama commented 9 months ago

Hello, and thank you for the contribution. Looks like the static typing CI is failing. You can see the recommended changes by clicking on the "Checks" tab of the Pull Request, and selecting "Static Checks". If you want to avoid manual work, you can download the gdtoolkit, execute gdformat . and then gdlint . on the src folder of your cloned fork of Pixelorama, and commit the recommended changes.

If you prefer not to do this yourself, let me know and I will fix it for you.