1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 09:24:57 +00:00

LibGUI: TextEditor now opts in to emoji input by default :^)

This commit is contained in:
Andreas Kling 2020-05-17 21:51:58 +02:00
parent 4173905198
commit 604fb278c1

View file

@ -53,6 +53,7 @@ namespace GUI {
TextEditor::TextEditor(Type type)
: m_type(type)
{
set_accepts_emoji_input(true);
set_background_role(ColorRole::Base);
set_foreground_role(ColorRole::BaseText);
set_document(TextDocument::create());