From 132b406cce7d2fa128ff8fe77fb9314f57c2a494 Mon Sep 17 00:00:00 2001 From: TroyKomodo Date: Tue, 5 Apr 2022 13:19:59 -0400 Subject: [PATCH] fix formatting ci --- src/providers/seventv/SeventvEmotes.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/providers/seventv/SeventvEmotes.cpp b/src/providers/seventv/SeventvEmotes.cpp index acba35e3ad9..c756ba55dd8 100644 --- a/src/providers/seventv/SeventvEmotes.cpp +++ b/src/providers/seventv/SeventvEmotes.cpp @@ -66,10 +66,13 @@ namespace { auto size2x = heightArr.at(1).toDouble(); auto size3x = heightArr.at(2).toDouble(); auto size4x = heightArr.at(3).toDouble(); - if (heightArr.size() != 4 || size2x <= 48) { + if (heightArr.size() != 4 || size2x <= 48) + { size2x = 0.66; size3x = 0.42; - } else { + } + else + { size2x = 0.5; size3x = 0.33; } @@ -77,8 +80,8 @@ namespace { auto emote = Emote( {name, ImageSet{Image::fromUrl(getEmoteLink(id, "1x"), 1), - Image::fromUrl(getEmoteLink(id, "2x"), size2x), - Image::fromUrl(getEmoteLink(id, "3x"), size3x), + Image::fromUrl(getEmoteLink(id, "2x"), size2x), + Image::fromUrl(getEmoteLink(id, "3x"), size3x), Image::fromUrl(getEmoteLink(id, "4x"), 0.25)}, Tooltip{QString("%1
%2 7TV Emote
By: %3") .arg(name.string, (isGlobal ? "Global" : "Channel"),