From b6546dc145c44c6e8cae742858b651b64cc9bf74 Mon Sep 17 00:00:00 2001 From: Glaeder Date: Sat, 6 Jul 2024 15:47:49 +0200 Subject: [PATCH] Patched comfy due to keyboard issues --- Cargo.lock | 9 +++------ Cargo.toml | 5 +++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 431f36e..51a9a0b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -478,8 +478,7 @@ dependencies = [ [[package]] name = "comfy" version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e8ff7c66a696e9a9e5523d0c4a6306711acb7f6d490d9c412b044a8c95f17f4" +source = "git+https://github.com/Plonq/comfy/?branch=101-fix-keyboard-events#6293590aec51875e9832ef05a670149d371f849c" dependencies = [ "comfy-core", "comfy-wgpu", @@ -499,8 +498,7 @@ dependencies = [ [[package]] name = "comfy-core" version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "398260ce649e9d35adc3ae75565406aab9b360c1e892a48ae3606e3138df150b" +source = "git+https://github.com/Plonq/comfy/?branch=101-fix-keyboard-events#6293590aec51875e9832ef05a670149d371f849c" dependencies = [ "ahash", "anyhow", @@ -558,8 +556,7 @@ dependencies = [ [[package]] name = "comfy-wgpu" version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6118f09fd99577503ba6861dac53840bae6cf202d70f97042f5cdf43c222e39a" +source = "git+https://github.com/Plonq/comfy/?branch=101-fix-keyboard-events#6293590aec51875e9832ef05a670149d371f849c" dependencies = [ "bytemuck", "comfy-core", diff --git a/Cargo.toml b/Cargo.toml index 9585c1b..9ec0f12 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,3 +17,8 @@ opt-level = 3 [dependencies] comfy = { version = "0.4.0", features = ["wayland"] } log = "0.4.22" + +[patch.crates-io] +# https://github.com/darthdeus/comfy/issues/101 +# https://github.com/darthdeus/comfy/pull/102 +comfy = { git = "https://github.com/Plonq/comfy/", branch = "101-fix-keyboard-events" }