mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +00:00
Very minor code cleanup.
This commit is contained in:
parent
7043da4737
commit
79d9150f65
|
@ -356,7 +356,7 @@ void GuiMetaDataEd::onSizeChanged()
|
|||
TITLE_VERT_PADDING) / mSize.y());
|
||||
mGrid.setRowHeightPerc(2, mButtons->getSize().y() / mSize.y());
|
||||
|
||||
// Clamp list size to the row height to prevent a fraction of a row from being displayed.
|
||||
// Snap list size to the row height to prevent a fraction of a row from being displayed.
|
||||
float listHeight = 0;
|
||||
float listSize = mList->getSize().y();
|
||||
int i = 0;
|
||||
|
|
|
@ -143,7 +143,7 @@ private:
|
|||
void getTextureForNewGlyph(const Vector2i& glyphSize, FontTexture*& tex_out,
|
||||
Vector2i& cursor_out);
|
||||
|
||||
std::map< unsigned int, std::unique_ptr<FontFace> > mFaceCache;
|
||||
std::map<unsigned int, std::unique_ptr<FontFace>> mFaceCache;
|
||||
FT_Face getFaceForChar(unsigned int id);
|
||||
void clearFaceCache();
|
||||
|
||||
|
|
Loading…
Reference in a new issue