Reduce GIF frame window from 30ms to 20ms (#3886)
* fix frame timings * add changelog
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
- Minor: Added `/copy` command. Usage: `/copy <text>`. Copies provided text to clipboard - can be useful with custom commands. (#3763)
|
- 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: 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: 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: 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: Connection to Twitch PubSub now recovers more reliably. (#3643, #3716)
|
||||||
- Bugfix: Fix crash that can occur when changing channels. (#3799)
|
- Bugfix: Fix crash that can occur when changing channels. (#3799)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ namespace chatterino {
|
|||||||
|
|
||||||
void GIFTimer::initialize()
|
void GIFTimer::initialize()
|
||||||
{
|
{
|
||||||
this->timer.setInterval(30);
|
this->timer.setInterval(gifFrameLength);
|
||||||
|
|
||||||
getSettings()->animateEmotes.connect([this](bool enabled, auto) {
|
getSettings()->animateEmotes.connect([this](bool enabled, auto) {
|
||||||
if (enabled)
|
if (enabled)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
namespace chatterino {
|
namespace chatterino {
|
||||||
|
|
||||||
constexpr long unsigned gifFrameLength = 33;
|
constexpr long unsigned gifFrameLength = 20;
|
||||||
|
|
||||||
class GIFTimer
|
class GIFTimer
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user