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 c946fe9e1e..27e7e55982 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); } }