Skip to content
Snippets Groups Projects
Commit bc0508ba authored by Alexander Rose's avatar Alexander Rose
Browse files

Merge branch 'master' of https://github.com/molstar/molstar-proto

parents 1aaa6fcb 1bc312f2
No related branches found
No related tags found
No related merge requests found
......@@ -59,9 +59,11 @@ function controlFor(param: PD.Any): ParamControl | undefined {
case 'group': return GroupControl;
case 'mapped': return MappedControl;
case 'line-graph': return LineGraphControl;
default:
const _: never = param;
console.warn(`${_} has no associated UI component`);
return void 0;
}
console.warn(`${(param as any).type} has no associated UI component.`);
return void 0;
}
// type ParamWrapperProps = { name: string, value: any, param: PD.Base<any>, onChange: ParamOnChange, control: ValueControl, onEnter?: () => void, isEnabled?: boolean }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment