Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add missing field to `impl Hash for RenderGlyphParams` (#20316)

Michael Sloane85ab077bec3
diff --git a/crates/gpui/src/text_system.rs b/crates/gpui/src/text_system.rs
index c946fe9e1ed..27e7e559826 100644
--- a/crates/gpui/src/text_system.rs
+++ b/crates/gpui/src/text_system.rs
@@ -668,6 +668,7 @@ impl Hash for RenderGlyphParams {
self.font_size.0.to_bits().hash(state);
self.subpixel_variant.hash(state);
self.scale_factor.to_bits().hash(state);
+ self.is_emoji.hash(state);
}
}