Draft toast notification overlay in devtools

This commit is contained in:
Héctor Ramón Jiménez 2025-04-05 20:08:54 +02:00
parent a719b0596c
commit 132f60c29c
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
4 changed files with 75 additions and 21 deletions

View file

@ -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));
}
}