Skip to content

Commit

Permalink
android???
Browse files Browse the repository at this point in the history
  • Loading branch information
RayDeeUx committed Apr 14, 2024
1 parent b124e65 commit f1e4d72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,10 @@ class $modify(MyEndLevelLayer, EndLevelLayer) {
float scale = 0.36f * (228.f / strlen(randomString));
if (strcmp("BELIEVE", randomString) == 0) { scale = 1.5f; }
else if (strcmp("endTextLabel->setString(randomString.c_str(), true);", randomString) == 0) { scale = 0.4f;}
#ifndef GEODE_IS_MOBILE
else if (scale > Mod::get()->getSettingValue<double>("maxScale")) { scale = Mod::get()->getSettingValue<double>("maxScale"); }
#ifdef GEODE_IS_MOBILE
#else
else if (scale < Mod::get()->getSettingValue<double>("maxScale")) { scale = Mod::get()->getSettingValue<double>("maxScale"); }
std::regex quotePattern("\".+\"");
if (std::regex_match(std::string(randomString), quotePattern)) { scale = scale * .75f; }
#endif
Expand Down

0 comments on commit f1e4d72

Please sign in to comment.