components work without 'key' attribute set

This commit is contained in:
Andreas Rumpf 2017-07-12 13:23:58 +02:00
commit e94071b077
2 changed files with 4 additions and 4 deletions

View file

@ -54,7 +54,7 @@ proc newTextInput*(style: VStyle = VStyle(); key: cstring;
result = newComponent(TextInput, render, changed=changed, updated=update)
result.style = style
result.value = value
result.key = key
#result.key = key
when false:
type