mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb: Reduce ShadowData struct from 80 to 72 bytes
This commit is contained in:
parent
aa0811d24e
commit
ddc3017464
Notes:
github-actions[bot]
2024-11-11 16:07:30 +00:00
Author: https://github.com/shlyakpavel
Commit: ddc3017464
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2280
2 changed files with 2 additions and 2 deletions
|
@ -313,11 +313,11 @@ struct TransformOrigin {
|
|||
};
|
||||
|
||||
struct ShadowData {
|
||||
Color color {};
|
||||
CSS::Length offset_x { Length::make_px(0) };
|
||||
CSS::Length offset_y { Length::make_px(0) };
|
||||
CSS::Length blur_radius { Length::make_px(0) };
|
||||
CSS::Length spread_distance { Length::make_px(0) };
|
||||
Color color {};
|
||||
CSS::ShadowPlacement placement { CSS::ShadowPlacement::Outer };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue