diff --git a/web/src/main/kotlin/world/phantasmal/web/questEditor/widgets/EntityDnd.kt b/web/src/main/kotlin/world/phantasmal/web/questEditor/widgets/EntityDnd.kt index 1699ab16..c915f207 100644 --- a/web/src/main/kotlin/world/phantasmal/web/questEditor/widgets/EntityDnd.kt +++ b/web/src/main/kotlin/world/phantasmal/web/questEditor/widgets/EntityDnd.kt @@ -115,6 +115,8 @@ private fun HTMLElement.observeEntityEvent( getEventData(e)?.let { data -> observer(EntityDragEvent(data, e)) } + + focus() }) private fun dragStart(e: DragEvent, entityType: EntityType, imageUrl: String) {