From e85ab077bec30b02594358294fbb49294bad7d81 Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Thu, 7 Nov 2024 09:34:54 -0700 Subject: [PATCH] Add missing field to `impl Hash for RenderGlyphParams` (#20316) Unlikely to cause any behavior change but seems more correct to include `is_emoji` in the hash. Release Notes: - N/A --- crates/gpui/src/text_system.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/gpui/src/text_system.rs b/crates/gpui/src/text_system.rs index c946fe9e1edb8b0de7840bc8f690aaa3a56cb2d6..27e7e559826152933b3ae0b57229169af8c554ac 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); } }