LibWeb: Remove LibGfx-specific blur radius modification

This commit is contained in:
Jelle Raaijmakers 2024-10-25 16:00:04 +02:00 committed by Andreas Kling
parent 6c642d168d
commit 2d544a0d8c
Notes: github-actions[bot] 2024-10-26 09:28:38 +00:00

View file

@ -19,8 +19,7 @@ float FilterOperation::Blur::resolved_radius(Layout::Node const& node) const
auto sigma = 0;
if (radius.has_value())
sigma = radius->to_px(node).to_int();
// Note: The radius/sigma of the blur needs to be doubled for LibGfx's blur functions.
return sigma * 2;
return sigma;
}
float FilterOperation::HueRotate::angle_degrees() const