Added option for shift, used clang and made setting uneditable

This commit is contained in:
apa420
2019-06-11 22:54:20 +02:00
parent f362548e28
commit 70bb63d20f
2 changed files with 22 additions and 9 deletions
+3 -4
View File
@@ -272,10 +272,9 @@ void GeneralPage::initLayout(SettingsLayout &layout)
layout.addCheckbox("Show live indicator in tabs", s.showTabLive);
layout.addDropdown<int>(
"Show emote preview in tooltip on hover",
{"Don't show", "Always show"},
s.emotesTooltipPreview,
[](int index) { return index; },
[](auto args) { return args.index; });
{"Don't show", "Always show", "Hold shift"}, s.emotesTooltipPreview,
[](int index) { return index; }, [](auto args) { return args.index; },
false);
layout.addSpacing(16);
layout.addSeperator();