Fix up merged PRs: WordArt warp handles on main's warp catalog and hover hit list

- #519's handle test iterated the old `ALL` preset list; main has `CATALOG` now.
- The hover hit-test match lists every Hit variant; add #519's Hit::Warp.
- Drop the duplicate "tabs" dialog title that #569 and #637 both added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-14 14:49:10 -04:00
co-authored by Claude Opus 5.5
parent b267a921cd
commit e6862f18ae
3 changed files with 3 additions and 3 deletions
+2 -1
View File
@@ -1104,7 +1104,8 @@ impl Session {
| Hit::Adjust { id, .. }
| Hit::LineEnd { id, .. }
| Hit::Handle { id, .. }
| Hit::Vertex { id, .. },
| Hit::Vertex { id, .. }
| Hit::Warp { id, .. },
) => Some(*id),
None => None,
};
+1 -1
View File
@@ -281,7 +281,7 @@ fn hostile_adjusts_and_boxes_stay_finite() {
#[test]
fn every_preset_has_one_handle_per_adjust() {
let r = rect();
for name in ALL {
for name in CATALOG.iter().map(|p| p.id) {
let hs = handles(name, &[], r);
assert_eq!(hs.len(), adjust_count(name), "{name}");
let defaults = adjust_defaults(name);
-1
View File
@@ -47,7 +47,6 @@ fn title(id: &str) -> &'static str {
"paragraph" => "Paragraph",
"tabs" => "Tabs",
"font" => "Font",
"tabs" => "Tabs",
"about" => "About DeckCraft",
"preferences" => "Preferences",
"gridOptions" => "Grid Options",