mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 05:07:35 +00:00
Revert "LibWeb: Do not deform bitmaps partially outside the img-box"
This change broken image rendering.
This reverts commit e055927ead
.
This commit is contained in:
parent
fe26c3145d
commit
16b14273d1
Notes:
github-actions[bot]
2025-03-05 18:45:42 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 16b14273d1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3819
36 changed files with 22 additions and 1752 deletions
|
@ -72,8 +72,8 @@ struct DrawPaintingSurface {
|
|||
|
||||
struct DrawScaledImmutableBitmap {
|
||||
Gfx::IntRect dst_rect;
|
||||
Gfx::IntRect clip_rect;
|
||||
NonnullRefPtr<Gfx::ImmutableBitmap> bitmap;
|
||||
Gfx::IntRect src_rect;
|
||||
Gfx::ScalingMode scaling_mode;
|
||||
|
||||
[[nodiscard]] Gfx::IntRect bounding_rect() const { return dst_rect; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue