GUI: RTL: Disable usage of RTL layout by default

This commit is contained in:
aryanrawlani28 2020-05-19 22:49:32 +05:30 committed by Eugene Sandulenko
parent 5d8f6a2281
commit ab4ac760fb
2 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ GuiManager::GuiManager() : _redrawStatus(kRedrawDisabled), _stateIsSaved(false),
#ifdef USE_TRANSLATION
// Enable translation
TransMan.setLanguage(ConfMan.get("gui_language").c_str());
if (TransMan.getCurrentLanguage() == "C") { // GUI TODO: Change after testing.
if (TransMan.getCurrentLanguage() == "C" && false) { // GUI TODO: Change this to enable RTL
_useRTL = true;
}
#endif // USE_TRANSLATION

View File

@ -55,8 +55,8 @@ void Widget::init() {
_boss->_firstWidget = this;
_needsRedraw = true;
if (TransMan.getCurrentLanguage() == "C") { // GUI TODO: Switch to native RTL languages after testing, also
_useRTL = true; // Widgets will get _useRTL true or not from the XML parser.
if (TransMan.getCurrentLanguage() == "C" && false) { // GUI TODO: Change this and GuiManager::GuiManager() to use RTL.
_useRTL = true; // GUI TODO: Widgets will get _useRTL true or not from the XML parser.
}
}