diff --git a/docs/screenshots/ribbon-highlight/after-dimbreak.png b/docs/screenshots/ribbon-highlight/after-dimbreak.png deleted file mode 100644 index a6538aa96..000000000 Binary files a/docs/screenshots/ribbon-highlight/after-dimbreak.png and /dev/null differ diff --git a/docs/screenshots/ribbon-highlight/after-offset.png b/docs/screenshots/ribbon-highlight/after-offset.png deleted file mode 100644 index d7c79c1f7..000000000 Binary files a/docs/screenshots/ribbon-highlight/after-offset.png and /dev/null differ diff --git a/docs/screenshots/ribbon-highlight/after-xline.png b/docs/screenshots/ribbon-highlight/after-xline.png deleted file mode 100644 index e0edc2e7a..000000000 Binary files a/docs/screenshots/ribbon-highlight/after-xline.png and /dev/null differ diff --git a/docs/screenshots/ribbon-highlight/before-dimbreak.png b/docs/screenshots/ribbon-highlight/before-dimbreak.png deleted file mode 100644 index 195fa916b..000000000 Binary files a/docs/screenshots/ribbon-highlight/before-dimbreak.png and /dev/null differ diff --git a/docs/screenshots/ribbon-highlight/before-offset.png b/docs/screenshots/ribbon-highlight/before-offset.png deleted file mode 100644 index 195fa916b..000000000 Binary files a/docs/screenshots/ribbon-highlight/before-offset.png and /dev/null differ diff --git a/docs/screenshots/ribbon-highlight/before-xline.png b/docs/screenshots/ribbon-highlight/before-xline.png deleted file mode 100644 index 195fa916b..000000000 Binary files a/docs/screenshots/ribbon-highlight/before-xline.png and /dev/null differ diff --git a/src/app/commands/mod.rs b/src/app/commands/mod.rs index 43ea7742b..b17c9eee6 100644 --- a/src/app/commands/mod.rs +++ b/src/app/commands/mod.rs @@ -230,7 +230,8 @@ impl OpenCADStudio { // started (typed, alias, shortcut, Repeat), so the user sees where it // lives. A transparent command returned above and leaves the running // command's highlight alone. - self.ribbon.show_command(cmd); + self.ribbon + .show_command(strip_command_prefixes(cmd).unwrap_or(cmd)); if !self.suppress_plugin_dispatch && crate::plugin::try_dispatch(self, i, cmd) { // try_dispatch returns true for both finished commands and interactive