mirror of
https://github.com/imgurbot12/rmenu.git
synced 2024-11-14 05:13: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));
|
let index = results.with(|r| r.get(pos).cloned().unwrap_or(0));
|
||||||
// handle events
|
// handle events
|
||||||
let quit = context.handle_keybinds(e, index, &mut position);
|
let quit = context.handle_keybinds(e, index, &mut position);
|
||||||
// if e.code() == Code::
|
|
||||||
// handle quit event
|
// handle quit event
|
||||||
if quit {
|
if quit {
|
||||||
window.set_visible(false);
|
window.set_visible(false);
|
||||||
@ -134,10 +133,7 @@ fn gui_main() -> Element {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// custom context menu
|
// custom context menu
|
||||||
context_menu {
|
context_menu { ctx_menu, position }
|
||||||
ctx_menu,
|
|
||||||
position,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user