1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:57:44 +00:00

LibWeb: Remove done gradient painting TODO

This code is already generalised to every gradient in existence.
This commit is contained in:
MacDue 2022-12-24 16:04:33 +00:00 committed by Andreas Kling
parent f2fe3245cf
commit 2b1342b120

View file

@ -71,7 +71,6 @@ static ColorStopData resolve_color_stop_positions(auto const& color_stop_list, a
max_previous_color_stop_or_hint = 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;
for (auto& stop : color_stop_list) {
if (stop.transition_hint.has_value())