1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:08:12 +00:00

LibGUI: Set a tooltip on the emojis' buttons to their code point names

This commit is contained in:
Timothy Flynn 2022-09-06 11:04:28 -04:00 committed by Linus Groh
parent eeb7b153a2
commit 21a89b65fc

View file

@ -90,6 +90,9 @@ auto EmojiInputDialog::supported_emoji() -> Vector<Emoji>
done(ExecResult::OK);
};
if (name.has_value())
button->set_tooltip(name->to_titlecase());
code_points.empend(code_point, move(name), move(button));
}