mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Reduce GIF frame window from 30ms to 20ms (#3907)
This commit is contained in:
parent
46efa5df3d
commit
bc38d696bc
3 changed files with 4 additions and 2 deletions
|
@ -25,6 +25,7 @@
|
|||
- Minor: Added `/copy` command. Usage: `/copy <text>`. Copies provided text to clipboard - can be useful with custom commands. (#3763)
|
||||
- Minor: Removed total views from the usercard, as Twitch no longer updates the number. (#3792)
|
||||
- Minor: Add Quick Switcher item to open a channel in a new popup window. (#3828)
|
||||
- Minor: Reduced GIF frame window from 30ms to 20ms, causing fewer frame skips in animated emotes. (#3886, #3907)
|
||||
- Minor: Warn when parsing an environment variable fails. (#3904)
|
||||
- Minor: Load missing messages from Recent Messages API upon reconnecting (#3878, #3932)
|
||||
- Minor: Add settings to toggle BTTV/FFZ global/channel emotes (#3935)
|
||||
|
|
|
@ -8,7 +8,8 @@ namespace chatterino {
|
|||
|
||||
void GIFTimer::initialize()
|
||||
{
|
||||
this->timer.setInterval(30);
|
||||
this->timer.setInterval(gifFrameLength);
|
||||
this->timer.setTimerType(Qt::PreciseTimer);
|
||||
|
||||
getSettings()->animateEmotes.connect([this](bool enabled, auto) {
|
||||
if (enabled)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
namespace chatterino {
|
||||
|
||||
constexpr long unsigned gifFrameLength = 33;
|
||||
constexpr long unsigned gifFrameLength = 20;
|
||||
|
||||
class GIFTimer
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue