зеркало из https://github.com/mozilla/pjs.git
fixed bug where CreateWidget() was called twice for the ClipView and zero
times for the CornerView.
This commit is contained in:
Родитель
3bfa7f5cd6
Коммит
c60567f267
|
@ -857,8 +857,8 @@ NS_IMETHODIMP nsScrollingView :: CreateScrollControls(nsNativeWidget aNative)
|
|||
rv = mCornerView->Init(mViewManager, trect, this,
|
||||
nsnull, nsViewVisibility_kHide);
|
||||
mViewManager->InsertChild(this, mCornerView, 1);
|
||||
mClipView->CreateWidget(kWidgetCID, nsnull,
|
||||
mWindow ? nsnull : aNative);
|
||||
mCornerView->CreateWidget(kWidgetCID, nsnull,
|
||||
mWindow ? nsnull : aNative);
|
||||
}
|
||||
|
||||
// Create a view for a vertical scrollbar
|
||||
|
|
Загрузка…
Ссылка в новой задаче