From 7045ff016a8549298c998da6022110d1f100645f Mon Sep 17 00:00:00 2001 From: davidjanmahajan Date: Sun, 5 Jan 2025 23:33:29 +0300 Subject: [PATCH] added `handle_platform_output` call for clipboard support (only for windowing env, because: https://github.com/emilk/egui/discussions/3124) --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 67e73e2..c68b080 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -230,9 +230,12 @@ impl ApplicationHandler for App { textures_delta, shapes, pixels_per_point, + platform_output, .. } = gui_state.egui_ctx().end_pass(); + gui_state.handle_platform_output(window, platform_output); + let paint_jobs = gui_state.egui_ctx().tessellate(shapes, pixels_per_point); let screen_descriptor = {