Integrate main shortcut fix and merged PSD names codec

This commit is contained in:
Dylan M. Taylor committed 2026-11-15 17:21:20 -05:00
commit f557e43982
3 files changed
+5 -4

No files matched your search

Generated
+2 -2
View File
@@ -1631,7 +1631,7 @@ dependencies = [
[[package]]
name = "craft-psd"
version = "0.1.0"
source = "git+https://github.com/storytold/craft-libs?rev=9d56699be8f8c04fb61f4710186b7454317afaa5#9d56699be8f8c04fb61f4710186b7454317afaa5"
source = "git+https://github.com/storytold/craft-libs?rev=040b5202f9ca2ecaedcaea9351fc095c0d3dc5e8#040b5202f9ca2ecaedcaea9351fc095c0d3dc5e8"
dependencies = [
"encoding_rs",
"flate2",
@@ -5741,7 +5741,7 @@ dependencies = [
"craft-pdf",
"craft-pdn",
"craft-psd 0.1.0 (git+https://github.com/storytold/craft-libs?rev=09188c3bbfa443b089a3e022fad6abd7b464efda)",
"craft-psd 0.1.0 (git+https://github.com/storytold/craft-libs?rev=9d56699be8f8c04fb61f4710186b7454317afaa5)",
"craft-psd 0.1.0 (git+https://github.com/storytold/craft-libs?rev=040b5202f9ca2ecaedcaea9351fc095c0d3dc5e8)",
"craft-svg",
"craft-tiff 0.1.0 (git+https://github.com/storytold/craft-libs?rev=ad8faa1c136ce289e9f132c9137d0cd913bd4ef6)",
"craft-xcf",
+1 -1
View File
@@ -29,7 +29,7 @@ photocraft-doc = { workspace = true }
photocraft-compose = { workspace = true }
photocraft-algo = { workspace = true }
craft-psd = { workspace = true }
craft-psd-names = { package = "craft-psd", git = "https://github.com/storytold/craft-libs", rev = "9d56699be8f8c04fb61f4710186b7454317afaa5", version = "0.1.0" }
craft-psd-names = { package = "craft-psd", git = "https://github.com/storytold/craft-libs", rev = "040b5202f9ca2ecaedcaea9351fc095c0d3dc5e8", version = "0.1.0" }
photocraft-codecs = { workspace = true }
photocraft-formats = { workspace = true }
photocraft-raw = { workspace = true }
@@ -165,7 +165,8 @@ fn an_unmodified_set_switches_at_once() {
fn an_action_function_key_is_no_edit() {
let (mut h, first) = dialog();
h.state_mut().ui.dialogs.retain(|d| d.id != first);
crate::actions::assign_shortcut(h.state_mut(), "Sepia", "F2").unwrap();
h.state_mut().session.actions.list.push(photocraft_engine::actions_cmds::Action::new("Sepia", Vec::new()));
crate::actions::assign_shortcut(h.state_mut(), 0, "F2").unwrap();
let ctx = h.ctx.clone();
let id = crate::menus::invoke(h.state_mut(), &ctx, "edit.keyboardShortcuts", json!({})).unwrap()["dialog"].as_u64().unwrap();
h.run_steps(4);