Skip to content

Commit

Permalink
Buf fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeriiKoniushenko committed Jul 25, 2023
1 parent 9ae9fa2 commit fe203aa
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions game/source/VaKon2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,7 @@ void VaKon2D::start()
KeyboardInputAction iaWidgetReflector("WidgetReflector", Keyboard::Key::F1);
iaWidgetReflector.setFrequency(KeyboardInputAction::TimeT(100));
iaWidgetReflector.setIsRepeatable(false);
iaWidgetReflector.onAction.subscribe(
[]()
{
getWidgetReflector().toggle();
std::cout << "Toggle()" << std::endl;
});
iaWidgetReflector.onAction.subscribe([]() { getWidgetReflector().toggle(); });

while (!GetWindow().shouldClose())
{
Expand Down

0 comments on commit fe203aa

Please sign in to comment.