mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixed emote popup not having the right default size on hidpi
This commit is contained in:
parent
90db7a3995
commit
929552f74d
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@ SplitInput::SplitInput(Split *_chatWidget)
|
||||||
this->emotePopup = new EmotePopup(this->colorScheme);
|
this->emotePopup = new EmotePopup(this->colorScheme);
|
||||||
}
|
}
|
||||||
|
|
||||||
this->emotePopup->resize(300, 500);
|
this->emotePopup->resize((int)(300 * this->emotePopup->getDpiMultiplier()),
|
||||||
|
(int)(500 * this->emotePopup->getDpiMultiplier()));
|
||||||
this->emotePopup->loadChannel(this->chatWidget->getChannel());
|
this->emotePopup->loadChannel(this->chatWidget->getChannel());
|
||||||
this->emotePopup->show();
|
this->emotePopup->show();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue