mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 09:37:44 +00:00
LibWeb: Remove done gradient painting TODO
This code is already generalised to every gradient in existence.
This commit is contained in:
parent
f2fe3245cf
commit
2b1342b120
1 changed files with 0 additions and 1 deletions
|
@ -71,7 +71,6 @@ static ColorStopData resolve_color_stop_positions(auto const& color_stop_list, a
|
||||||
max_previous_color_stop_or_hint = value;
|
max_previous_color_stop_or_hint = value;
|
||||||
return value;
|
return value;
|
||||||
};
|
};
|
||||||
// Move this step somewhere generic (since I think this code can be mostly reused for conic gradients)
|
|
||||||
size_t resolved_index = 0;
|
size_t resolved_index = 0;
|
||||||
for (auto& stop : color_stop_list) {
|
for (auto& stop : color_stop_list) {
|
||||||
if (stop.transition_hint.has_value())
|
if (stop.transition_hint.has_value())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue