Ticket #108 (closed defect: fixed)
Error in limiting crop bounds
| Reported by: | harri | Owned by: | harri |
|---|---|---|---|
| Priority: | major | Milestone: | 0.5.future |
| Component: | imginfo | Version: | 0.3.0 |
| Keywords: | Cc: | ||
| Test Case Result: |
Description
In PhotoInfo#checkCropBounds?() there is a check that tries to verify that max bound is larger than min bound:
if ( cropMaxX - cropMinX <= 0.0) {
cropMaxX = 1.0 - cropMinX;
}
Obviously this does not work, probably the correct way would be to swap the max and min values.
Change History
Note: See
TracTickets for help on using
tickets.
