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

* fix frame timings

* add changelog
This commit is contained in:
Troy 2022-07-31 18:15:12 -04:00 committed by GitHub
parent 109fb5c016
commit ebc7852f9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -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)
- Bugfix: Fix crash that can occur when closing and quickly reopening a split, then running a command. (#3852)
- Bugfix: Connection to Twitch PubSub now recovers more reliably. (#3643, #3716)
- Bugfix: Fix crash that can occur when changing channels. (#3799)

View file

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

View file

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