mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 00:52:58 +00:00
Refs #684. Fixed: sizing problem when revealing hidden CPWebView.
This commit is contained in:
1 parent
cc9bcabf38
commit
c42295f0c7
1 file changed
+6
@@ -227,6 +227,12 @@ CPWebViewAppKitScrollMaxPollCount = 3;
|
||||
[self _resizeWebFrame];
|
||||
}
|
||||
|
||||
- (void)viewDidUnhide
|
||||
{
|
||||
// Catch up on resizing which happened while hidden.
|
||||
[_frameView setFrameSize:[_scrollView contentSize]];
|
||||
}
|
||||
|
||||
- (void)_attachScrollEventIfNecessary
|
||||
{
|
||||
if (_effectiveScrollMode !== CPWebViewScrollAppKit)
|
||||
|
||||
Reference in new issue
Block a user