improve styling

This commit is contained in:
Philipp Kühn
2021-01-18 16:54:02 +01:00
parent 7adc8b24a0
commit dd3a2ce490
3 changed files with 16 additions and 8 deletions

View File

@@ -178,8 +178,7 @@ export function Suggestion({
return false
}
// return onKeyDown({ view, event, range })
return testRenderer?.onKeyDown?.({ view, event, range })
return testRenderer?.onKeyDown?.({ view, event, range }) || false
},
// Setup decorator on the currently active suggestion.