mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 17:29:11 +00:00
GUI: RTL: Disable usage of RTL layout by default
This commit is contained in:
parent
5d8f6a2281
commit
ab4ac760fb
@ -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
|
||||
|
@ -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.
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user