mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Hold down a modifier key when clicking a link to open it in a new tab
This commit is contained in:
@@ -281,8 +281,8 @@ pub fn handle_output(
|
||||
display: &glium::backend::glutin::Display,
|
||||
clipboard: Option<&mut ClipboardContext>,
|
||||
) {
|
||||
if let Some(url) = output.open_url {
|
||||
if let Err(err) = webbrowser::open(&url) {
|
||||
if let Some(open) = output.open_url {
|
||||
if let Err(err) = webbrowser::open(&open.url) {
|
||||
eprintln!("Failed to open url: {}", err);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user