Skip to content

Atrament v4.1.0

Compare
Choose a tag to compare
@jakubfiala jakubfiala released this 28 Mar 10:25
· 27 commits to main since this release

This version should fix #98 - it changes how the dirty flag behaves, as it's now toggled in the draw() method. This means it will also be true if drawing programmatically, not just when using a pointer (mouse/touch/stylus).

Another change is that the clear() method now clears the canvas regardless of whether Atrament has drawn on it. I believe this will lead to more predictable behaviour. The method has also been refactored to take into account the canvas transform.