mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-23 16:48:53 +00:00
Merge branch 'main' into refactor-remove-nativehost-target
This commit is contained in:
commit
483fff9305
27 files changed
+4175
-33
No files matched your search
@@ -1263,8 +1263,11 @@ var CPThemeStatesForSplitViewDivider = @[@"dummy one as CPSplitViewDividerStyle
|
||||
- (void)setButtonBar:(CPButtonBar)aButtonBar forDividerAtIndex:(CPUInteger)dividerIndex
|
||||
{
|
||||
// For compatibility with previous behavior
|
||||
[aButtonBar setAutomaticResizeControl:YES];
|
||||
[self attachButtonBar:aButtonBar];
|
||||
if ([aButtonBar respondsToSelector:@selector(setAutomaticResizeControl:)])
|
||||
{
|
||||
[aButtonBar setAutomaticResizeControl:YES];
|
||||
[self attachButtonBar:aButtonBar];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)attachButtonBar:(CPButtonBar)aButtonBar
|
||||
@@ -1906,4 +1909,3 @@ var CPSplitViewDelegateKey = @"CPSplitViewDelegateKey",
|
||||
|
||||
|
||||
@end
|
||||
|
||||
Reference in new issue
Block a user