mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 14:49:06 -04:00
Avoid deadlocks by using lambdas for context lock (#2625)
ctx.input().key_pressed(Key::A) -> ctx.input(|i| i.key_pressed(Key::A))
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,6 +1,7 @@
|
||||
.DS_Store
|
||||
**/target
|
||||
**/target_ra
|
||||
**/target_wasm
|
||||
/.*.json
|
||||
/.vscode
|
||||
/media/*
|
||||
.DS_Store
|
||||
|
||||
Reference in New Issue
Block a user