Fix emote & badge tooltips not showing up when thumbnails were hidden (#4509)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -74,6 +74,14 @@ enum HelixTimegateOverride : int {
|
||||
AlwaysUseHelix = 3,
|
||||
};
|
||||
|
||||
enum ThumbnailPreviewMode : int {
|
||||
DontShow = 0,
|
||||
|
||||
AlwaysShow = 1,
|
||||
|
||||
ShowOnShift = 2,
|
||||
};
|
||||
|
||||
/// Settings which are availlable for reading and writing on the gui thread.
|
||||
// These settings are still accessed concurrently in the code but it is bad practice.
|
||||
class Settings : public ABSettings, public ConcurrentSettings
|
||||
@@ -217,7 +225,6 @@ public:
|
||||
FloatSetting emoteScale = {"/emotes/scale", 1.f};
|
||||
BoolSetting showUnlistedSevenTVEmotes = {
|
||||
"/emotes/showUnlistedSevenTVEmotes", false};
|
||||
|
||||
QStringSetting emojiSet = {"/emotes/emojiSet", "Twitter"};
|
||||
|
||||
BoolSetting stackBits = {"/emotes/stackBits", false};
|
||||
@@ -478,9 +485,12 @@ public:
|
||||
HelixTimegateOverride::Timegate,
|
||||
};
|
||||
|
||||
IntSetting emotesTooltipPreview = {"/misc/emotesTooltipPreview", 1};
|
||||
BoolSetting openLinksIncognito = {"/misc/openLinksIncognito", 0};
|
||||
|
||||
EnumSetting<ThumbnailPreviewMode> emotesTooltipPreview = {
|
||||
"/misc/emotesTooltipPreview",
|
||||
ThumbnailPreviewMode::AlwaysShow,
|
||||
};
|
||||
QStringSetting cachePath = {"/cache/path", ""};
|
||||
BoolSetting restartOnCrash = {"/misc/restartOnCrash", false};
|
||||
BoolSetting attachExtensionToAnyProcess = {
|
||||
|
||||
Reference in New Issue
Block a user