aboutsummaryrefslogtreecommitdiffstats
path: root/components/msg
diff options
context:
space:
mode:
authorConnor Brewster <brewsterc@my.caspercollege.edu>2016-06-04 15:22:18 -0600
committerConnor Brewster <brewsterc@my.caspercollege.edu>2016-06-04 18:47:38 -0600
commitc0ea1f16a81db19a6cd1c1c845105d6f6da57983 (patch)
tree8e8415328417b8ef85425ada6eda0caea6428419 /components/msg
parent80a58cadc5f864bfb44671e2e7228d7c6cdf4ab4 (diff)
downloadservo-c0ea1f16a81db19a6cd1c1c845105d6f6da57983.tar.gz
servo-c0ea1f16a81db19a6cd1c1c845105d6f6da57983.zip
Added support for navigating by a delta
Diffstat (limited to 'components/msg')
-rw-r--r--components/msg/constellation_msg.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/msg/constellation_msg.rs b/components/msg/constellation_msg.rs
index 7e64619db69..8d81702c465 100644
--- a/components/msg/constellation_msg.rs
+++ b/components/msg/constellation_msg.rs
@@ -244,8 +244,8 @@ impl LoadData {
#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize)]
pub enum NavigationDirection {
- Forward,
- Back,
+ Forward(usize),
+ Back(usize),
}
#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize)]