| Summary: | Fill Tool (Paint Bucket icon) cursor is not accurate at the pixel level | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Kyle UX (chez Tinderbox) <krita> |
| Component: | Tools | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | timonator |
| Priority: | NOR | ||
| Version First Reported In: | 2.9.9 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Kyle UX (chez Tinderbox)
2015-11-23 18:57:20 UTC
I decided to fix this bug. It was a trivial case of using rounding to get the pixel the user was clicking at. Instead of using rounding, the code now uses the convertToIntPixelCoord function, which does the right kind of math. https://quickgit.kde.org/?p=krita.git&a=commit&h=67c0a61cc548669fee1f20128f30945c672cc88a |