Skip to content

Commit

Permalink
what happened to the indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
SCZSkyward authored Feb 9, 2024
1 parent a9cb0a4 commit 8206056
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ class $modify(MenuLayer) {
// Gets the discord button child from the socialmediamenu
auto discordbutton = socialmediamenu->getChildByID("discord-button");

if (Mod::get()->getSettingValue<bool>("switch-discord-twitch")) {
if (Mod::get()->getSettingValue<bool>("switch-discord-twitch")) {

// Sets the position to X: 88, Y: 30
discordbutton->setPosition(88, 30);
// Sets the position to X: 88, Y: 30
discordbutton->setPosition(88, 30);

// Finally sets the twitch button to X: 59, Y: 30
twitchbutton->setPosition(59, 30);
// Finally sets the twitch button to X: 59, Y: 30
twitchbutton->setPosition(59, 30);

// Lowers the scale of the socialmediamenu
socialmediamenu->setScale(0.9);
Expand All @@ -50,9 +50,9 @@ class $modify(MenuLayer) {
} else {
twitchbutton->setPosition(88, 30);

discordbutton->setPosition(59, 30);
discordbutton->setPosition(59, 30);

// Lowers the scale of the socialmediamenu
// Lowers the scale of the socialmediamenu
socialmediamenu->setScale(0.9);

// Sets the position to X: 17, Y: -22
Expand Down

0 comments on commit 8206056

Please sign in to comment.