Skip to content

Commit

Permalink
[win] online-installer: temporarily disable RTL
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplestStudio committed Jan 15, 2025
1 parent 05dfb86 commit f76016c
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 f76016c

Please sign in to comment.