1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 23:13:13 -04:00

Fix for dragging widgets with non-primary mouse button

Broken in e31312cf7a
This commit is contained in:
Emil Ernerfeldt
2021-08-22 21:16:54 +02:00
parent 605762364a
commit f8a3042258

View File

@@ -250,7 +250,6 @@ impl CtxRef {
// This is needed because we do window interaction first (to prevent frame delay),
// and then do content layout.
if sense.drag
&& self.input().pointer.primary_down()
&& (memory.interaction.drag_id.is_none()
|| memory.interaction.drag_is_window)
{