mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Correct the early exit condition in AudioPaintable::paint()
We're not painting controls for audio elements that are supposed to have them!
This commit is contained in:
parent
2880d40dfb
commit
f3a2207bc8
Notes:
github-actions[bot]
2025-11-03 19:26:05 +00:00
Author: https://github.com/Zaggy1024
Commit: f3a2207bc8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6678
Reviewed-by: https://github.com/gmta ✅
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ void AudioPaintable::paint(DisplayListRecordingContext& context, PaintPhase phas
|
|||
return;
|
||||
|
||||
auto const& audio_element = as<HTML::HTMLAudioElement const>(*dom_node());
|
||||
if (audio_element.should_paint())
|
||||
if (!audio_element.should_paint())
|
||||
return;
|
||||
|
||||
Base::paint(context, phase);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue