mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 23:56:06 +00:00
LibWeb: Change SVGContext initial fill_color to transparent
This patch changes the initialization of the fill_color of an SVGContext to transparent instead of black to not draw a black filling if the elements fill_color is defined as "none".
This commit is contained in:
parent
adf0262b54
commit
7c09d7c52f
Notes:
sideshowbarker
2024-07-17 04:26:07 +09:00
Author: https://github.com/Torstennator
Commit: 7c09d7c52f
Pull-request: https://github.com/SerenityOS/serenity/pull/14991
Reviewed-by: https://github.com/Lubrsi
Reviewed-by: https://github.com/alimpfard ✅
Reviewed-by: https://github.com/gmta
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public:
|
|||
|
||||
private:
|
||||
struct State {
|
||||
Gfx::Color fill_color { Gfx::Color::Black };
|
||||
Gfx::Color fill_color { Gfx::Color::Transparent };
|
||||
Gfx::Color stroke_color { Gfx::Color::Transparent };
|
||||
float stroke_width { 1.0 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue