Merge pull request #5244 from dotCooCoo/feat/select-same-text-fill-stroke

Select: Same › Text Fill & Stroke Color selects type whose fill and stroke both match
This commit is contained in:
Brandon Thomas
2026-11-03 00:18:46 -05:00
committed by GitHub
32 changed files with 109 additions and 0 deletions
+9
View File
@@ -66,6 +66,15 @@ pub fn specs() -> Vec<CommandSpec> {
"select.same.textStrokeColor",
|a, b| a.stroke == b.stroke
)),
cmd!(
"select.same.textFillAndStrokeColor",
"Text Fill & Stroke Color",
["Select", "Same"],
None,
"{} select the type objects with characters whose fill and stroke both match the first character of the first selected type → {count}",
has_selection,
|s, _| same_text(s, "select.same.textFillAndStrokeColor", |a, b| a.fill == b.fill && a.stroke == b.stroke)
),
cmd!(
"select.object.directionHandles",
"Direction Handles",