mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
Everywhere: Remove unused local variables and lambda captures
This commit is contained in:
committed by
Gunnar Beutner
parent
5f7f063919
commit
ca06fd658d
@@ -498,7 +498,7 @@ void Menu::start_activation_animation(MenuItem& item)
|
||||
};
|
||||
auto animation = adopt_own(*new AnimationInfo(move(window)));
|
||||
auto& timer = animation->timer;
|
||||
timer = Core::Timer::create_repeating(50, [this, animation = animation.ptr(), animation_ref = move(animation)] {
|
||||
timer = Core::Timer::create_repeating(50, [animation = animation.ptr(), animation_ref = move(animation)] {
|
||||
VERIFY(animation->step % 2 == 0);
|
||||
animation->step -= 2;
|
||||
if (animation->step == 0) {
|
||||
|
||||
Reference in New Issue
Block a user