forked from kscience/visionforge
Fix build import
This commit is contained in:
parent
5e3e3908ea
commit
8c85804eb8
@ -1,5 +1,6 @@
|
||||
import scientifik.DependencyConfiguration
|
||||
import scientifik.FXModule
|
||||
import scientifik.useFx
|
||||
|
||||
plugins {
|
||||
id("scientifik.mpp")
|
||||
|
@ -49,7 +49,7 @@ class ValueChooserComponent(props: ValueChooserProps) : RComponent<ValueChooserP
|
||||
}
|
||||
}
|
||||
|
||||
private val commit: (Event) -> Unit = { event ->
|
||||
private val commit: (Event) -> Unit = { _ ->
|
||||
props.valueChanged?.invoke(getValue())
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
package hep.dataforge.vision.solid
|
||||
|
||||
import hep.dataforge.meta.DFExperimental
|
||||
import hep.dataforge.meta.double
|
||||
import hep.dataforge.names.NameToken
|
||||
import hep.dataforge.vision.MutableVisionGroup
|
||||
@ -118,8 +119,10 @@ internal object PrototypesSerializer : KSerializer<MutableVisionGroup> {
|
||||
}
|
||||
}
|
||||
|
||||
@OptIn(DFExperimental::class)
|
||||
fun Vision.stringify(): String = SolidManager.jsonForSolids.stringify(Vision.serializer(), this)
|
||||
|
||||
@OptIn(DFExperimental::class)
|
||||
fun Vision.Companion.parseJson(str: String) = SolidManager.jsonForSolids.parse(Vision.serializer(), str).also {
|
||||
if(it is VisionGroup){
|
||||
it.attachChildren()
|
||||
|
Loading…
Reference in New Issue
Block a user