mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:37:35 +00:00
LibWeb: Rename Layout::Box absolute rect helpers
- padded_rect() -> absolute_padding_box_rect() - bordered_rect() -> absolute_border_box_rect()
This commit is contained in:
parent
9a92236a24
commit
63345c4dfc
4 changed files with 12 additions and 12 deletions
|
@ -46,7 +46,7 @@ void BlockContainer::paint(PaintContext& context, PaintPhase phase)
|
|||
if (should_clip_overflow()) {
|
||||
context.painter().save();
|
||||
// FIXME: Handle overflow-x and overflow-y being different values.
|
||||
context.painter().add_clip_rect(enclosing_int_rect(padded_rect()));
|
||||
context.painter().add_clip_rect(enclosing_int_rect(absolute_padding_box_rect()));
|
||||
context.painter().translate(-m_scroll_offset.to_type<int>());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue