Draft toast notification overlay in devtools
This commit is contained in:
parent
a719b0596c
commit
132f60c29c
4 changed files with 75 additions and 21 deletions
|
|
@ -40,7 +40,6 @@ pub use clipboard::Clipboard;
|
|||
pub use error::Error;
|
||||
pub use proxy::Proxy;
|
||||
|
||||
use crate::core::keyboard;
|
||||
use crate::core::mouse;
|
||||
use crate::core::renderer;
|
||||
use crate::core::theme;
|
||||
|
|
@ -892,20 +891,6 @@ async fn run_instance<P>(
|
|||
window.state.scale_factor(),
|
||||
window.state.modifiers(),
|
||||
) {
|
||||
if matches!(
|
||||
event,
|
||||
core::Event::Keyboard(
|
||||
keyboard::Event::KeyPressed {
|
||||
modified_key: keyboard::Key::Named(
|
||||
keyboard::key::Named::F12
|
||||
),
|
||||
..
|
||||
}
|
||||
)
|
||||
) {
|
||||
debug::toggle_comet();
|
||||
}
|
||||
|
||||
events.push((id, event));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue