mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Merge main shortcut test and dependency fixes
This commit is contained in:
commit
0d4d506cbf
2 files changed
+7
-6
No files matched your search
Generated
+5
-5
@@ -5859,8 +5859,8 @@ dependencies = [
|
||||
name = "photocraft-text"
|
||||
version = "0.23.1"
|
||||
dependencies = [
|
||||
"craft-plist",
|
||||
"base64 0.23.1",
|
||||
"craft-plist",
|
||||
"craft-psd",
|
||||
"flate2",
|
||||
"parley",
|
||||
@@ -7005,9 +7005,9 @@ checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f"
|
||||
|
||||
[[package]]
|
||||
name = "rustls-webpki"
|
||||
version = "0.103.15"
|
||||
version = "0.103.16"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2"
|
||||
checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281"
|
||||
dependencies = [
|
||||
"aws-lc-rs",
|
||||
"ring",
|
||||
@@ -10084,9 +10084,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "zip"
|
||||
version = "9.1.0"
|
||||
version = "9.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2886b00003a72c4ccee3f42cfc34908d33b2508a74d827dc2a4244706475c704"
|
||||
checksum = "1156b39d142a34b999c2310a50455e0cb3760bf7efad0122f796d813bee26ccb"
|
||||
dependencies = [
|
||||
"crc32fast",
|
||||
"flate2",
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user