mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb: Remove LibGfx-specific blur radius modification
This commit is contained in:
parent
6c642d168d
commit
2d544a0d8c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user