From ded816905dba30a6a8a43488cca5c627a546e476 Mon Sep 17 00:00:00 2001 From: Aloshi Date: Sun, 27 Jul 2014 17:48:49 -0500 Subject: [PATCH] Fixed a typo in MenuComponent that accidentally used a constant as a boolean value (technically still worked) --- es-core/src/components/MenuComponent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/components/MenuComponent.h b/es-core/src/components/MenuComponent.h index 227d8b27e..f81852127 100644 --- a/es-core/src/components/MenuComponent.h +++ b/es-core/src/components/MenuComponent.h @@ -26,7 +26,7 @@ public: inline void addWithLabel(const std::string& label, const std::shared_ptr& comp, bool setCursorHere = false, bool invert_when_selected = true) { ComponentListRow row; - row.addElement(std::make_shared(mWindow, strToUpper(label), Font::get(FONT_SIZE_MEDIUM), 0x777777FF), ALIGN_CENTER); + row.addElement(std::make_shared(mWindow, strToUpper(label), Font::get(FONT_SIZE_MEDIUM), 0x777777FF), true); row.addElement(comp, false, invert_when_selected); addRow(row, setCursorHere); }