mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-10 01:50:22 -06:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user