Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
vcmikuu committed Aug 13, 2024
1 parent 7d134f8 commit 25031fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ MAKE_HOOK_MATCH(m_DidActivate,


if(getModConfig().Active.GetValue()){
return;
} else{
auto* imageCoverTransform = self->get_transform()->Find("LevelDetail/LevelBarBig/SongArtwork")->GetComponent<RectTransform*>();

imageCoverTransform->set_sizeDelta(Vector2(70.5, 58.0));
Expand All @@ -48,6 +46,8 @@ MAKE_HOOK_MATCH(m_DidActivate,
imageView->set_preserveAspect(false);
imageView->_skew = 0.0f;
imageView->__Refresh();
} else{
return;
}

}
Expand Down

0 comments on commit 25031fe

Please sign in to comment.