mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[macos] refactoring
This commit is contained in:
@ -117,7 +117,7 @@ static float kASCWindowMinTitleWidth = 0;
|
||||
[mainWindow standardWindowButton:NSWindowMiniaturizeButton],
|
||||
[mainWindow standardWindowButton:NSWindowZoomButton]];
|
||||
|
||||
if ( [ASCLinguist isUILayoutDirectionRtl] ) {
|
||||
if ( [self.view userInterfaceLayoutDirection] == NSUserInterfaceLayoutDirectionRightToLeft ) {
|
||||
self.standardButtonsDefaults = [[self.standardButtonsDefaults reverseObjectEnumerator] allObjects];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user