summaryrefslogtreecommitdiff
path: root/src/library/maps.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-12-10 11:37:12 +0100
committerLaurenz <laurmaedje@gmail.com>2019-12-10 11:37:12 +0100
commit92586d3e6895f0895fb2c88abcdd5e7160482a5b (patch)
tree2af23968bbff7213d237e05ab78ef886491da852 /src/library/maps.rs
parent7e980224354880cfda1797136a1ff886d6642662 (diff)
Progressing stack layouter 🚊
Diffstat (limited to 'src/library/maps.rs')
-rw-r--r--src/library/maps.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/maps.rs b/src/library/maps.rs
index c89d46cb..077ebc5e 100644
--- a/src/library/maps.rs
+++ b/src/library/maps.rs
@@ -86,8 +86,8 @@ impl<E: ExpressionKind + Copy> ExtentMap<E> {
let key = match arg.v.key.v.0.as_str() {
"width" | "w" => AxisKey::Horizontal,
"height" | "h" => AxisKey::Vertical,
- "primary-size" => AxisKey::Primary,
- "secondary-size" => AxisKey::Secondary,
+ "primary-size" | "ps" => AxisKey::Primary,
+ "secondary-size" | "ss" => AxisKey::Secondary,
_ => if enforce {
error!("expected dimension")
} else {