forked from kscience/visionforge
Remove debug logs
This commit is contained in:
parent
e0346b7db5
commit
63f2713875
@ -137,12 +137,9 @@ private fun RBuilder.configEditorItem(props: ConfigEditorProps) {
|
||||
}
|
||||
}
|
||||
div("col") {
|
||||
console.log("1: Setting ${props.name} to ${actualItem.value}")
|
||||
val value = actualItem.value
|
||||
child(ValueChooser) {
|
||||
attrs {
|
||||
console.log("2: Setting ${props.name} to $value")
|
||||
this.value = value
|
||||
this.value = actualItem.value
|
||||
this.descriptor = descriptorItem as? ValueDescriptor
|
||||
this.valueChanged = valueChanged
|
||||
}
|
||||
|
@ -27,8 +27,6 @@ val ValueChooser = functionalComponent<ValueChooserProps> { props ->
|
||||
// var state by initState {props.value }
|
||||
val descriptor = props.descriptor
|
||||
|
||||
console.log("3: Set ${props.value}")
|
||||
|
||||
val onValueChange: (Event) -> Unit = {
|
||||
val res = when (val t = it.target) {
|
||||
// (it.target as HTMLInputElement).value
|
||||
|
Loading…
Reference in New Issue
Block a user