Commit 73d6346
committed
Fix width check in Image.HandleAtSize.isReusable on Win32
The second condition in isReusable() compared handleContainer.height()
against both height and width due to a copy-paste error. This caused
unnecessary image handle recreation for non-square images. Use
handleContainer.width() for the width comparison.1 parent 99e5332 commit 73d6346
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
0 commit comments