mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 09:17:35 +00:00
LibWeb: Remove unused variable in FlexFormattingContext
This commit is contained in:
parent
dc13ced1a7
commit
c70359ac04
1 changed files with 0 additions and 3 deletions
|
@ -1237,7 +1237,6 @@ CSS::AlignItems FlexFormattingContext::alignment_for_item(FlexItem const& item)
|
||||||
void FlexFormattingContext::align_all_flex_items_along_the_cross_axis()
|
void FlexFormattingContext::align_all_flex_items_along_the_cross_axis()
|
||||||
{
|
{
|
||||||
// FIXME: Take better care of margins
|
// FIXME: Take better care of margins
|
||||||
float line_cross_offset = 0;
|
|
||||||
for (auto& flex_line : m_flex_lines) {
|
for (auto& flex_line : m_flex_lines) {
|
||||||
for (auto* flex_item : flex_line.items) {
|
for (auto* flex_item : flex_line.items) {
|
||||||
float half_line_size = flex_line.cross_size / 2.0f;
|
float half_line_size = flex_line.cross_size / 2.0f;
|
||||||
|
@ -1258,8 +1257,6 @@ void FlexFormattingContext::align_all_flex_items_along_the_cross_axis()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
line_cross_offset += flex_line.cross_size;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue