Revert "Reduce GIF frame window from 30ms to 20ms (#3886)"

This reverts commit ebc7852f9f.
This commit is contained in:
Rasmus Karlsson 2022-08-06 19:29:08 +02:00
parent 46f43f3ce8
commit 76a891c5de
3 changed files with 2 additions and 3 deletions

View file

@ -25,7 +25,6 @@
- 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)
- Minor: Warn when parsing an environment variable fails. (#3904)
- Minor: Load missing messages from Recent Messages API upon reconnecting (#3878)
- Bugfix: Fix crash that can occur when closing and quickly reopening a split, then running a command. (#3852)

View file

@ -8,7 +8,7 @@ namespace chatterino {
void GIFTimer::initialize()
{
this->timer.setInterval(gifFrameLength);
this->timer.setInterval(30);
getSettings()->animateEmotes.connect([this](bool enabled, auto) {
if (enabled)

View file

@ -5,7 +5,7 @@
namespace chatterino {
constexpr long unsigned gifFrameLength = 20;
constexpr long unsigned gifFrameLength = 33;
class GIFTimer
{