mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Preserve action definition history regression with extended action metadata
This commit is contained in:
1 parent
da3d9ba3a9
commit
889018cabb
1 file changed
+2
-1
@@ -98,8 +98,9 @@ fn definition_edits_undo_redo_without_touching_document_or_journal() {
|
||||
name: "A".into(),
|
||||
steps: vec![("layer.new.layer".into(), json!({})), ("select.all".into(), json!({}))],
|
||||
disabled: Default::default(),
|
||||
..Default::default()
|
||||
});
|
||||
s.actions.list.push(Action { name: "Caller".into(), steps: vec![("actions.play".into(), json!({"action": "A"}))], disabled: Default::default() });
|
||||
s.actions.list.push(Action { name: "Caller".into(), steps: vec![("actions.play".into(), json!({"action": "A"}))], ..Default::default() });
|
||||
s.edit_prefs(|p| {
|
||||
p.shortcuts.insert("actions.play:A".into(), "F6".into());
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user