mirror of
https://github.com/imgurbot12/rmenu.git
synced 2024-11-10 11:33:48 +01:00
chore: minor format cleanups
This commit is contained in:
parent
e19a791023
commit
d356558a7d
@ -74,7 +74,6 @@ fn gui_main() -> Element {
|
||||
let index = results.with(|r| r.get(pos).cloned().unwrap_or(0));
|
||||
// handle events
|
||||
let quit = context.handle_keybinds(e, index, &mut position);
|
||||
// if e.code() == Code::
|
||||
// handle quit event
|
||||
if quit {
|
||||
window.set_visible(false);
|
||||
@ -134,10 +133,7 @@ fn gui_main() -> Element {
|
||||
}
|
||||
}
|
||||
// custom context menu
|
||||
context_menu {
|
||||
ctx_menu,
|
||||
position,
|
||||
}
|
||||
context_menu { ctx_menu, position }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user