Fix: apple gpu

This commit is contained in:
mahefanante committed 2026-10-27 10:41:07 +00:00
1 parent 779424dade
commit 87d4098cbd
2 files changed
+1 -6

No files matched your search

-2
View File
@@ -1926,8 +1926,6 @@ pub fn specs() -> Vec<CommandSpec> {
run: path_to_selection,
journal: true,
},
// Ctrl+Shift+Enter: add the path to the active selection.
// ⌘⇧↩ / Ctrl+Shift+Enter adds the path to the selection, ⌘⌥↩ / Ctrl+Alt+Enter subtracts it.
CommandSpec {
id: "path.addToSelection",
+1 -4
View File
@@ -1040,10 +1040,7 @@ mod tests {
fn press_key(app: &mut PhotocraftApp, ctx: &egui::Context, key: Key, modifiers: Modifiers) {
ctx.begin_pass(egui::RawInput {
events: vec![
egui::Event::ModifiersChanged(modifiers),
egui::Event::Key { key, physical_key: None, pressed: true, repeat: false, modifiers },
],
events: vec![egui::Event::ModifiersChanged(modifiers), egui::Event::Key { key, physical_key: None, pressed: true, repeat: false, modifiers }],
..Default::default()
});
handle(app, ctx);