mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
Fix: apple gpu
This commit is contained in:
1 parent
779424dade
commit
87d4098cbd
2 files changed
+1
-6
No files matched your search
@@ -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",
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user