mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +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
Notes:
sideshowbarker
2024-07-17 17:08:01 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/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…
Reference in a new issue