fix: avoid holes when moving tabs (#5612)

This commit is contained in:
nerix 2024-10-05 13:09:23 +02:00 committed by GitHub
parent 06d9a37709
commit 94e266ac82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View file

@ -31,7 +31,7 @@
- Minor: Removed experimental IRC support. (#5547)
- Minor: Moderators can now see which mods start and cancel raids. (#5563)
- Minor: The emote popup now reloads when Twitch emotes are reloaded. (#5580)
- Bugfix: Fixed tab move animation occasionally failing to start after closing a tab. (#5426)
- Bugfix: Fixed tab move animation occasionally failing to start after closing a tab. (#5426, #5612)
- Bugfix: If a network request errors with 200 OK, Qt's error code is now reported instead of the HTTP status. (#5378)
- Bugfix: Fixed restricted users usernames not being clickable. (#5405)
- Bugfix: Fixed a crash that could occur when logging was enabled in IRC servers that were removed. (#5419)

View file

@ -412,11 +412,6 @@ void NotebookTab::moveAnimated(QPoint targetPos, bool animated)
{
this->positionAnimationDesiredPoint_ = targetPos;
if (this->pos() == targetPos)
{
return;
}
if (!animated || !this->notebook_->isVisible())
{
this->move(targetPos);