Fix for dragging widgets with non-primary mouse button
Broken in e31312cf7a
This commit is contained in:
parent
605762364a
commit
f8a3042258
1 changed files with 0 additions and 1 deletions
|
@ -250,7 +250,6 @@ impl CtxRef {
|
||||||
// This is needed because we do window interaction first (to prevent frame delay),
|
// This is needed because we do window interaction first (to prevent frame delay),
|
||||||
// and then do content layout.
|
// and then do content layout.
|
||||||
if sense.drag
|
if sense.drag
|
||||||
&& self.input().pointer.primary_down()
|
|
||||||
&& (memory.interaction.drag_id.is_none()
|
&& (memory.interaction.drag_id.is_none()
|
||||||
|| memory.interaction.drag_is_window)
|
|| memory.interaction.drag_is_window)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue