mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-02 14:47:05 -06:00
Integration: swatch references bump the story revision with wrapping_add
#456 makes every story revision increment wrap; next's swatch_refs.rs (added after the PR's base) still used rev += 1.
This commit is contained in:
@@ -137,7 +137,7 @@ impl Names<'_> {
|
||||
for t in st.tables.values_mut() {
|
||||
self.table(Arc::make_mut(t));
|
||||
}
|
||||
st.rev += 1;
|
||||
st.rev = st.rev.wrapping_add(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user