summaryrefslogtreecommitdiff
path: root/src/library/keys.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/keys.rs
parent7e980224354880cfda1797136a1ff886d6642662 (diff)
Progressing stack layouter 🚊
Diffstat (limited to 'src/library/keys.rs')
-rw-r--r--src/library/keys.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/keys.rs b/src/library/keys.rs
index c7e34839..969d92be 100644
--- a/src/library/keys.rs
+++ b/src/library/keys.rs
@@ -118,7 +118,7 @@ impl AlignmentKey {
use AlignmentKey::*;
use SpecificAxisKind::*;
- let positive = axes.get_specific(axis).is_positive();
+ let positive = axes.specific(axis).is_positive();
match (self, axis, positive) {
(Origin, Horizontal, true) | (End, Horizontal, false) => Left,
(End, Horizontal, true) | (Origin, Horizontal, false) => Right,