mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
bug fix: open links in same tab by default
This commit is contained in:
@@ -29,7 +29,7 @@ impl Output {
|
||||
/// Open the given url in a web browser.
|
||||
/// If egui is running in a browser, the same tab will be reused.
|
||||
pub fn open_url(&mut self, url: impl Into<String>) {
|
||||
self.open_url = Some(OpenUrl::new_tab(url))
|
||||
self.open_url = Some(OpenUrl::same_tab(url))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user