mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -45,7 +45,7 @@ void paint_border(PaintContext& context, BorderEdge edge, Gfx::FloatRect const&
|
|||
{
|
||||
auto rect = a_rect.to_rounded<float>();
|
||||
|
||||
const auto& border_data = [&] {
|
||||
auto const& border_data = [&] {
|
||||
switch (edge) {
|
||||
case BorderEdge::Top:
|
||||
return borders_data.top;
|
||||
|
@ -71,7 +71,7 @@ void paint_border(PaintContext& context, BorderEdge edge, Gfx::FloatRect const&
|
|||
Gfx::FloatPoint p2;
|
||||
};
|
||||
|
||||
auto points_for_edge = [](BorderEdge edge, const Gfx::FloatRect& rect) -> Points {
|
||||
auto points_for_edge = [](BorderEdge edge, Gfx::FloatRect const& rect) -> Points {
|
||||
switch (edge) {
|
||||
case BorderEdge::Top:
|
||||
return { rect.top_left(), rect.top_right() };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue