We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5ff2f0 commit ada4ce8Copy full SHA for ada4ce8
tests/app/src/main.cpp
@@ -349,7 +349,7 @@ class application : public ruisapp::application{
349
auto& b = c.get().get_widget_as<ruis::push_button>("showhide_mousecursor_button");
350
bool visible = true;
351
b.context.get().window().set_mouse_cursor_visible(visible);
352
- b.click_handler = [visible, this](ruis::push_button& b) mutable{
+ b.click_handler = [visible](ruis::push_button& b) mutable{
353
visible = !visible;
354
355
};
0 commit comments