Very minor code cleanup.

This commit is contained in:
Leon Styhre 2021-03-14 09:36:50 +01:00
parent 7043da4737
commit 79d9150f65
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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();