ui: picker: Use ui.selection instead of ui.selection.primary

This commit is contained in:
Blaž Hrastnik 2021-08-13 17:59:47 +09:00
parent f20dc1283d
commit eb9ac0a743

View file

@ -141,7 +141,7 @@ impl<T: 'static> Component for FilePicker<T> {
for x in inner.left()..inner.right() {
surface
.get_mut(x, inner.y + line.saturating_sub(first_line) as u16)
.set_style(cx.editor.theme.get("ui.selection.primary"));
.set_style(cx.editor.theme.get("ui.selection"));
}
}
}