Fix position hashing bug that causes incorrect frame elision

This commit is contained in:
meehl committed 2025-10-20 11:24:13 +02:00
1 parent 6c4c61b8cb
commit a096547b7f
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -2,6 +2,10 @@
## [Unreleased] - ReleaseDate
### Fixed
- Fix problem that causes non-identical frames to be elided.
## [0.1.1] - 2025-10-19
### Added
@@ -26,7 +30,7 @@
- First release
<!-- next-url -->
[Unreleased]: https://github.com/meehl/rusty-path-of-building/compare/v0.1.1...HEAD
[Unreleased]: https://github.com/meehl/rusty-path-of-building/compare/v0.1.1...HEAD
[0.1.1]: https://github.com/meehl/rusty-path-of-building/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/meehl/rusty-path-of-building/releases/tag/v0.1.0
+1 -1
View File
@@ -188,5 +188,5 @@ impl Hash for TextPrimitive {
fn hash_pos<H: Hasher, U>(pos: &Point<f32, U>, state: &mut H) {
OrderedFloat(pos.x).hash(state);
OrderedFloat(pos.x).hash(state);
OrderedFloat(pos.y).hash(state);
}