mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
LibWeb: Fix blit corner clipping command recording order
Before: - sample corners id = 0 - sample corners id = 1 - sample corners id = 2 - blit corners id = 0 - blit corners id = 1 - blit corners id = 2 After: - sample corners id = 0 - sample corners id = 1 - sample corners id = 2 - blit corners id = 2 - blit corners id = 1 - blit corners id = 0
This commit is contained in:
parent
1a9d8e8fbe
commit
1a6cf7fadc
Notes:
sideshowbarker
2024-07-17 06:40:35 +09:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/SerenityOS/serenity/commit/1a6cf7fadc Pull-request: https://github.com/SerenityOS/serenity/pull/24453
@ -501,7 +501,7 @@ void PaintableBox::clear_clip_overflow_rect(PaintContext& context, PaintPhase ph
|
||||
m_clipping_overflow = false;
|
||||
auto const& combined_transform = combined_css_transform();
|
||||
auto const& border_radii_clips = this->border_radii_clips();
|
||||
for (size_t corner_clip_index = 0; corner_clip_index < border_radii_clips.size(); ++corner_clip_index) {
|
||||
for (int corner_clip_index = border_radii_clips.size() - 1; corner_clip_index >= 0; --corner_clip_index) {
|
||||
auto const& corner_clip = border_radii_clips[corner_clip_index];
|
||||
auto corners = corner_clip.radii.as_corners(context);
|
||||
if (!corners.has_any_radius())
|
||||
|
Loading…
Reference in New Issue
Block a user