mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-14 18:05:51 -04:00
floating item: properly clear if dragged into void
This commit is contained in:
parent
1ef3dc952f
commit
33978850f8
@ -55,6 +55,7 @@ class FloatingItem(
|
||||
}
|
||||
if (target == null) {
|
||||
container?.actions?.invoke(SimpleContainerAction(null, if (button == MouseButtons.LEFT) SimpleContainerAction.ContainerCounts.ALL else SimpleContainerAction.ContainerCounts.PART))
|
||||
guiRenderer.dragged.element = null
|
||||
return
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user