Skip to content

Commit

Permalink
Merge pull request 'Online-installer: temporarily disable RTL' (#149)…
Browse files Browse the repository at this point in the history
… from fix/disable-rtl into release/v8.3.0
  • Loading branch information
maxkadushkin committed Jan 16, 2025
2 parents 05dfb86 + f76016c commit f82910a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions win-linux/extras/online-installer/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ int WINAPI _tWinMain(_In_ HINSTANCE hInst, _In_opt_ HINSTANCE hPrevInstance, _In
}

Application app(hInst, lpCmdLine, nCmdShow);
if (NS_Utils::IsRtlLanguage(lcid))
app.setLayoutDirection(LayoutDirection::RightToLeft);
// if (NS_Utils::IsRtlLanguage(lcid))
// app.setLayoutDirection(LayoutDirection::RightToLeft);
int scrWidth = GetSystemMetrics(SM_CXSCREEN);
int scrHeight = GetSystemMetrics(SM_CYSCREEN);
int x = (scrWidth - WINDOW_SIZE.width) / 2;
Expand Down

0 comments on commit f82910a

Please sign in to comment.