mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Run clang-format
We mistakenly did not add the clang-format linter to the new repo's CI, and some unformatted code made its way into the repo.
This commit is contained in:
parent
fbc42e7d42
commit
06ed0dfcc1
Notes:
sideshowbarker
2024-07-18 22:57:59 +09:00
Author: https://github.com/trflynn89
Commit: 06ed0dfcc1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/184
Reviewed-by: https://github.com/circl-lastname
6 changed files with 28 additions and 28 deletions
|
@ -40,12 +40,14 @@ EasingStyleValue::CubicBezier EasingStyleValue::CubicBezier::ease_in_out()
|
|||
return bezier;
|
||||
}
|
||||
|
||||
EasingStyleValue::Steps EasingStyleValue::Steps::step_start() {
|
||||
EasingStyleValue::Steps EasingStyleValue::Steps::step_start()
|
||||
{
|
||||
static Steps steps { 1, Steps::Position::Start };
|
||||
return steps;
|
||||
}
|
||||
|
||||
EasingStyleValue::Steps EasingStyleValue::Steps::step_end() {
|
||||
EasingStyleValue::Steps EasingStyleValue::Steps::step_end()
|
||||
{
|
||||
static Steps steps { 1, Steps::Position::End };
|
||||
return steps;
|
||||
}
|
||||
|
@ -57,8 +59,7 @@ bool EasingStyleValue::CubicBezier::operator==(Web::CSS::EasingStyleValue::Cubic
|
|||
|
||||
double EasingStyleValue::Function::evaluate_at(double input_progress, bool before_flag) const
|
||||
{
|
||||
constexpr static auto cubic_bezier_at = [](double x1, double x2, double t)
|
||||
{
|
||||
constexpr static auto cubic_bezier_at = [](double x1, double x2, double t) {
|
||||
auto a = 1.0 - 3.0 * x2 + 3.0 * x1;
|
||||
auto b = 3.0 * x2 - 6.0 * x1;
|
||||
auto c = 3.0 * x1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue