mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
LibWeb: Remove LibGfx-specific blur radius modification
This commit is contained in:
parent
6c642d168d
commit
2d544a0d8c
Notes:
github-actions[bot]
2024-10-26 09:28:38 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/2d544a0d8c0 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1963
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue