kool
kool copied to clipboard
[Kool Editor] Drag & Drop Preview visually 'frozen' (Material drag & drop still functional)
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.