Restore namespace parameter to actions!
This does not yet fix `derive(Action)`, but will conflict with a lot so wanted to merge quickly.
This commit is contained in:
parent
188d727d31
commit
4290c67b6a
43 changed files with 399 additions and 304 deletions
|
@ -1,4 +1,5 @@
|
|||
use gpui::{actions, Div, Render};
|
||||
use gpui::NoAction;
|
||||
use gpui::{Div, Render};
|
||||
use itertools::Itertools;
|
||||
use story::Story;
|
||||
|
||||
|
@ -7,8 +8,6 @@ use crate::KeyBinding;
|
|||
|
||||
pub struct KeybindingStory;
|
||||
|
||||
actions!(NoAction);
|
||||
|
||||
pub fn binding(key: &str) -> gpui::KeyBinding {
|
||||
gpui::KeyBinding::new(key, NoAction {}, None)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue