Skip to content

Commit

Permalink
Graphics::translation fix
Browse files Browse the repository at this point in the history
I'm not really sure what the original logic intended to do, but this
function generalized should always return the delta between Cushy's
region and the actual clip rect.
  • Loading branch information
ecton committed Nov 29, 2024
1 parent f39a4e1 commit 644d3ca
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 75 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
shift-tab to focus the outer button when focus was on the inner button.
- Image now honors `ConstraintLimit::Fill` when using the aspect-fit scaling
mode.
- A fix in `Graphics::translation` potentially fixes edge cases that could arise
when drawing in clipped regions inside of a scrolled area. This change was
made without observing any ill effects from the existing logic, but the logic
was not correct.

### Added

Expand Down
127 changes: 64 additions & 63 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 644d3ca

Please sign in to comment.