Fix missing arrows

This commit is contained in:
Nate Butler committed 2023-11-28 15:15:49 -05:00
1 parent 6399784932
commit 2b8514d5fc
2 files changed
+2 -5

No files matched your search

@@ -79,10 +79,7 @@ impl Render for CommandPalette {
type Element = Div;
fn render(&mut self, _cx: &mut ViewContext<Self>) -> Self::Element {
v_stack()
.min_w_96()
.max_w(rems(36.))
.child(self.picker.clone())
v_stack().min_w_96().child(self.picker.clone())
}
}
+1 -1
View File
@@ -39,7 +39,7 @@ impl RenderOnce for KeyBinding {
.when(keystroke.modifiers.shift, |el| {
el.child(KeyIcon::new(Icon::Shift))
})
// .when_some(key_icon, |el, icon| el.child(KeyIcon::new(icon)))
.when_some(key_icon, |el, icon| el.child(KeyIcon::new(icon)))
.when(key_icon.is_none(), |el| {
el.child(Key::new(keystroke.key.to_uppercase().clone()))
})