Skip to content

Commit 0ca31c6

Browse files
committed
im a fkin jka short and sourt
1 parent 87f5d2a commit 0ca31c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ui/MLRSongCell.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ bool MLRSongCell::init(const SongData& songData, const bool isEven, const bool i
7070
songNameLabel->setSkewX(10.f);
7171
}
7272
}
73-
songNameLabel->limitLabelWidth(356.f * (.8 / compactModeFactor), .75f, .001f);
73+
songNameLabel->limitLabelWidth(356.f * (.8 / compactModeFactor), std::clamp<float>((.75f / compactModeFactor), .3, .75), .001f);
7474
this->setUserObject("song-name"_spr, cocos2d::CCString::create(songData.displayName));
7575

7676
CCLayerColor* divider = CCLayerColor::create({0, 0, 0, 127}, 356.f, .5f);

src/ui/SongListLayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void SongListLayer::addSongsToScrollLayer(geode::ScrollLayer* scrollLayer, SongM
106106
std::sort(cellsToAdd.begin(), cellsToAdd.end(), [reverse](MLRSongCell* a, MLRSongCell* b) {
107107
return SongListLayer::fileSize(a, b, reverse);
108108
});
109-
} else if (SAVED("songListSortFileExtension")) {
109+
} else if (SAVED("songListSortFileExtn")) {
110110
std::sort(cellsToAdd.begin(), cellsToAdd.end(), [reverse](MLRSongCell* a, MLRSongCell* b) {
111111
return SongListLayer::fileExtn(a, b, reverse);
112112
});

0 commit comments

Comments
 (0)