mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
LibWeb: Make Paintable::hit_test() return nothing
For paintables that don't know how to hit test themselves, let's just return nothing instead of crashing.
This commit is contained in:
parent
3f55271c8e
commit
48abbefb99
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ bool Paintable::handle_mousewheel(Badge<EventHandler>, Gfx::IntPoint const&, uns
|
|||
|
||||
HitTestResult Paintable::hit_test(Gfx::FloatPoint const&, HitTestType) const
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
return {};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue