kool icon indicating copy to clipboard operation
kool copied to clipboard

[Kool Editor] Drag & Drop Preview visually 'frozen' (Material drag & drop still functional)

Open 0megaD opened this issue 2 months ago • 0 comments

When dragging & dropping assets from the material/asset view, the preview is frozen in space, not moving at all.

For whatever reason the this.dragPos.set(dragPointer.screenPosition) in onDrag in UiOverlay.kt is not triggering recomposition.

https://github.com/kool-engine/kool/blob/792cf44ed9e35161b0b780d85b9032bc2690be38/kool-editor/src/commonMain/kotlin/de/fabmax/kool/editor/ui/UiOverlay.kt#L53

Note that this is purely a visual issue, and the actual drag & drop feature for Materials still functions as intended.

0megaD avatar Dec 15 '25 23:12 0megaD