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
@@ -234,10 +234,10 @@ var CPScrollerStyleGlobal = CPScrollerStyleOverlay,
|
||||
heightInset = contentSize.height - bounds.size.height,
|
||||
frameSize = CGSizeMake(contentSize.width + widthInset, contentSize.height + heightInset);
|
||||
|
||||
if (hFlag)
|
||||
if (horizontalScrollerClass)
|
||||
frameSize.height += [horizontalScrollerClass scrollerWidthInStyle:scrollerStyle];
|
||||
|
||||
if (vFlag)
|
||||
if (verticalScrollerClass)
|
||||
frameSize.width += [verticalScrollerClass scrollerWidthForControlSize:scrollerStyle];
|
||||
|
||||
return frameSize;
|
||||
|
||||
Reference in new issue
Block a user