1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

Fix dragging of custom_window_frame example on Windows (#4656)

* Related #4592 
* Closes #4647 

Fix dragging of custom_window_frame on Windows (re-edited)
This commit is contained in:
rustbasic
2024-06-19 23:19:41 +09:00
committed by GitHub
parent 52a8e11764
commit d9c5fb04ae
5 changed files with 5 additions and 27 deletions

View File

@@ -1284,7 +1284,6 @@ impl GlutinWindowContext {
if let Some(window) = &viewport.window {
let old_inner_size = window.inner_size();
let is_viewport_focused = self.focused_viewport == Some(viewport_id);
viewport.deferred_commands.append(&mut commands);
egui_winit::process_viewport_commands(
@@ -1292,7 +1291,6 @@ impl GlutinWindowContext {
&mut viewport.info,
std::mem::take(&mut viewport.deferred_commands),
window,
is_viewport_focused,
&mut viewport.actions_requested,
);