mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-15 10:25:06 -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) {
|
if (target == null) {
|
||||||
container?.actions?.invoke(SimpleContainerAction(null, if (button == MouseButtons.LEFT) SimpleContainerAction.ContainerCounts.ALL else SimpleContainerAction.ContainerCounts.PART))
|
container?.actions?.invoke(SimpleContainerAction(null, if (button == MouseButtons.LEFT) SimpleContainerAction.ContainerCounts.ALL else SimpleContainerAction.ContainerCounts.PART))
|
||||||
|
guiRenderer.dragged.element = null
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user