bug fix: open links in same tab by default
This commit is contained in:
parent
ea248d66b5
commit
cb7ef6faeb
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ impl Output {
|
||||||
/// Open the given url in a web browser.
|
/// Open the given url in a web browser.
|
||||||
/// If egui is running in a browser, the same tab will be reused.
|
/// If egui is running in a browser, the same tab will be reused.
|
||||||
pub fn open_url(&mut self, url: impl Into<String>) {
|
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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue