1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -04:00

Add OutputCommand for copying text and opening URL:s (#5532)

Add `OutputCommand` for copying text and opening URL:s

* Part of https://github.com/emilk/egui/issues/5424
* Adds `egui::OutputComm
* Part of https://github.com/emilk/egui/issues/5424and`
* Adds `PlatformOutput::commands`
* Deprecates `PlatformOutput::open_url`
* Deprecates `PlatformOutput::copied_text`
This commit is contained in:
Emil Ernerfeldt
2024-12-29 11:59:51 +01:00
committed by GitHub
parent 1e0f3a5e2d
commit e2c7e9e733
7 changed files with 71 additions and 15 deletions

View File

@@ -9,4 +9,6 @@ set -x
rustup target add wasm32-unknown-unknown
# For generating JS bindings:
cargo install --force --quiet wasm-bindgen-cli --version 0.2.95
if ! cargo install --list | grep -q 'wasm-bindgen-cli v0.2.95'; then
cargo install --force --quiet wasm-bindgen-cli --version 0.2.95
fi