Skip to content

Commit 72dc50c

Browse files
committed
remove some btn icons
1 parent 9f5d85a commit 72dc50c

5 files changed

Lines changed: 6 additions & 12 deletions

File tree

mod.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,10 @@
147147
"Pride",
148148
"Trans Pride",
149149
"Breakeode",
150-
"Boom Emoji",
151150
"Crying Skull",
152151
"The Yellow One",
153152
":3",
154153
"durr",
155-
"67",
156154
"Sapphire SDK"
157155
],
158156
"enable-if": "floating-btn"

resources/icon_boom.png

-10.2 KB
Binary file not shown.

resources/icon_sixseven.png

-9.2 KB
Binary file not shown.

src/ui/src/Menu.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -369,19 +369,19 @@ bool Menu::init() {
369369
});
370370

371371
constexpr TierFilterBtnData filterBtns[] = {
372-
{SillyTier::None, "All", "filter-none-btn", colors::white},
372+
{SillyTier::None, "Any", "filter-none-btn", colors::white},
373373
{SillyTier::Low, "Low", "filter-low-btn", colors::green},
374374
{SillyTier::Medium, "Medium", "filter-medium-btn", colors::yellow},
375375
{SillyTier::High, "High", "filter-high-btn", colors::red},
376376
};
377377

378-
for (auto const& filterBtn : filterBtns) {
378+
for (auto const& fBtn : filterBtns) {
379379
if (auto cell = MenuSillyFilterCell::create(
380380
{sillyDropdown->getScaledContentWidth(), 16.5f},
381-
filterBtn.tier,
382-
filterBtn.id,
383-
filterBtn.label,
384-
filterBtn.color)) {
381+
fBtn.tier,
382+
fBtn.id,
383+
fBtn.label,
384+
fBtn.color)) {
385385
sillyDropdown->addCell(cell);
386386
} else {
387387
log::error("Failed to create filter button");

src/util/Themes.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,10 @@ namespace horrible {
100100
inline constexpr auto Pride = "Pride";
101101
inline constexpr auto TransPride = "Trans Pride";
102102
inline constexpr auto Breakeode = "Breakeode";
103-
inline constexpr auto BoomEmoji = "Boom Emoji";
104103
inline constexpr auto CryingSkull = "Crying Skull";
105104
inline constexpr auto TheYellowOne = "The Yellow One";
106105
inline constexpr auto ColonThree = ":3";
107106
inline constexpr auto Durr = "durr";
108-
inline constexpr auto SixSeven = "67";
109107
inline constexpr auto SapphireSDK = "Sapphire SDK";
110108
};
111109

@@ -116,12 +114,10 @@ namespace horrible {
116114
if (icon == icons::Pride) return "icon_pride.png"_spr;
117115
if (icon == icons::TransPride) return "icon_transpride.png"_spr;
118116
if (icon == icons::Breakeode) return "icon_breakeode.png"_spr;
119-
if (icon == icons::BoomEmoji) return "icon_boom.png"_spr;
120117
if (icon == icons::CryingSkull) return "icon_skull.png"_spr;
121118
if (icon == icons::TheYellowOne) return "icon_yellow.png"_spr;
122119
if (icon == icons::ColonThree) return "icon_colonthree.png"_spr;
123120
if (icon == icons::Durr) return "icon_durr.png"_spr;
124-
if (icon == icons::SixSeven) return "icon_sixseven.png"_spr;
125121
if (icon == icons::SapphireSDK) return "icon_sapphire.png"_spr;
126122

127123
return "icon.png"_spr;

0 commit comments

Comments
 (0)