1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 08:27:13 +01:00

Bug 1918 - Left to right (LTR) language selection reverses elements that should not be reversed

This does not entirely fix LTR language support, but dramatically ameliorates the problems originally reported in bug 1918.
This commit is contained in:
James Crook
2018-08-08 15:04:15 +01:00
parent 0162badeff
commit bf6b47dbb4
6 changed files with 11 additions and 4 deletions

View File

@@ -1487,6 +1487,8 @@ bool AudacityApp::OnInit()
// BG: Create a temporary window to set as the top window
wxImage logoimage((const char **)AudacityLogoWithName_xpm);
logoimage.Rescale(logoimage.GetWidth() / 2, logoimage.GetHeight() / 2);
if( GetLayoutDirection() == wxLayout_RightToLeft)
logoimage = logoimage.Mirror();
wxBitmap logo(logoimage);
AudacityProject *project;
@@ -1512,7 +1514,7 @@ bool AudacityApp::OnInit()
// now appears before setting its position.
// On a dual monitor screen it will appear on one screen and then
// possibly jump to the second.
// We could fix this by writing outr own splash screen and using Hide()
// We could fix this by writing our own splash screen and using Hide()
// until the splash scren was correctly positioned, then Show()
// Possibly move it on to the second screen...