mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
LibWeb: Rename is_scrollable() to is_user_scrollable()
is_user_scrollable() is more appropriate name since this function returns true only for boxes scrollable by user interaction.
This commit is contained in:
parent
491da2a810
commit
5f364e9bc1
4 changed files with 4 additions and 4 deletions
|
@ -729,7 +729,7 @@ void PaintableWithLines::paint(PaintContext& context, PaintPhase phase) const
|
|||
|
||||
bool PaintableBox::handle_mousewheel(Badge<EventHandler>, CSSPixelPoint, unsigned, unsigned, int wheel_delta_x, int wheel_delta_y)
|
||||
{
|
||||
if (!layout_box().is_scrollable())
|
||||
if (!layout_box().is_user_scrollable())
|
||||
return false;
|
||||
scroll_by(wheel_delta_x, wheel_delta_y);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue