Added a XXX comment about what's the correct value for the clip

view's opacity
This commit is contained in:
troy%netscape.com 1998-10-25 04:24:26 +00:00
Родитель e065f28fe7
Коммит 1d54745569
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -425,6 +425,9 @@ NS_IMETHODIMP nsScrollingView :: Init(nsIViewManager* aManager,
// The clip view needs a widget to clip any of the scrolled view's // The clip view needs a widget to clip any of the scrolled view's
// child views with widgets. // child views with widgets.
// XXX The clip widget should be created on demand only... // XXX The clip widget should be created on demand only...
// XXX We're setting the clip view's opacity to be the same as the that of
// the scrolling view. Should that be the case or should it be the same
// as the scrolled view's opacity, or should it just be 0.0?
rv = mClipView->Init(mViewManager, aBounds, this, &kWidgetCID, nsnull, rv = mClipView->Init(mViewManager, aBounds, this, &kWidgetCID, nsnull,
mWindow ? nsnull : aNative, -1, nsnull, aOpacity); mWindow ? nsnull : aNative, -1, nsnull, aOpacity);
mViewManager->InsertChild(this, mClipView, -1); mViewManager->InsertChild(this, mClipView, -1);