Type: Create Font Sheet aligns right-to-left samples left and journals its artboard

Right-to-left samples used the automatic alignment, which anchors them at
their right edge, so a sample started left of its column and could cross
the margin or the column before it. Every line is now aligned left.

The command now takes `artboard`, and when it is left out the journal
records the active artboard as `activeArtboard`, so a replay lays the
sheet out on the same artboard. An action leaves `activeArtboard` out.
This commit is contained in:
dotCooCoo committed 2026-12-01 12:22:29 -08:00
1 parent 2933880c63
commit 8a808afc6f
5 files changed
+79 -8

No files matched your search

+2 -1
View File
@@ -37,7 +37,7 @@ pub const DRAWS_SHAPE: [&str; 5] = ["shape.rectangle", "shape.ellipse", "shape.p
/// Artboard tool had selected for its commands and for Paste in Place, in Front and in Back; the artboards and art Cut and Copy took with that
/// tool chosen; the view's center the app passes to Edit Symbol); an action leaves them out
/// ([`Session::journal_for_action`]).
const REPLAY_ONLY: [(&str, &str); 37] = [
const REPLAY_ONLY: [(&str, &str); 38] = [
("edit.copy", "artboard"),
("edit.cut", "artboard"),
("file.new", "created"),
@@ -67,6 +67,7 @@ const REPLAY_ONLY: [(&str, &str); 37] = [
("artboard.distribute", "activeArtboard"),
("artboard.distributeSpacing", "selectedArtboards"),
("artboard.distributeSpacing", "activeArtboard"),
("addon.type.fontSheet", "activeArtboard"),
("edit.copy", "selectedArtboards"),
("edit.copy", "art"),
("edit.cut", "selectedArtboards"),