Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Crash fix: handle dragging a selection rectangle upwards or to the le…
…ft correctly. Previously, this created a Rectf instance with negative size, crashing the filled rectangle drawing routine. I previously considered rather making the drawing routine support this case, but then I started to wonder how to define the rounded rectangle radius in that case... and then I saw the pre-existing assert in the other Rectf constructor and decided that the intention was to not allow this in the first place. So, dragging code fixed instead.
- Loading branch information