mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-25 02:57:01 -06:00
Fix up merged PRs: Edit Points hits select their shape on right click; Hyperlink sound fields in #713's tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
8a56ce8340
commit
edaef792e0
@@ -972,7 +972,15 @@ impl Session {
|
||||
}
|
||||
let hit = self.hit_test(p, tol);
|
||||
let id = match &hit {
|
||||
Some(Hit::Shape { id, .. } | Hit::Resize { id, .. } | Hit::Rotate { id } | Hit::Adjust { id, .. } | Hit::LineEnd { id, .. }) => Some(*id),
|
||||
Some(
|
||||
Hit::Shape { id, .. }
|
||||
| Hit::Resize { id, .. }
|
||||
| Hit::Rotate { id }
|
||||
| Hit::Adjust { id, .. }
|
||||
| Hit::LineEnd { id, .. }
|
||||
| Hit::Handle { id, .. }
|
||||
| Hit::Vertex { id, .. },
|
||||
) => Some(*id),
|
||||
None => None,
|
||||
};
|
||||
if !id.is_some_and(|id| st.selection.shapes.contains(&id)) {
|
||||
|
||||
Reference in New Issue
Block a user