mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports
This commit is contained in:
@@ -28,7 +28,7 @@ impl eframe::App for MyApp {
|
||||
ui.horizontal(|ui| {
|
||||
ui.monospace(cmd);
|
||||
if ui.small_button("📋").clicked() {
|
||||
ui.output_mut(|o| o.copied_text = cmd.into());
|
||||
ui.ctx().copy_text(cmd.into());
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user