mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-07-20 22:29:28 +00:00
ported from UXP: Issue #1355 - Better way to create display items for column backgrounds (9c783146)
This commit is contained in:
@@ -259,8 +259,8 @@ nsButtonFrameRenderer::DisplayButton(nsDisplayListBuilder* aBuilder,
|
||||
nsDisplayButtonBoxShadowOuter(aBuilder, this));
|
||||
}
|
||||
|
||||
nsRect buttonRect;
|
||||
GetButtonRect(mFrame->GetRectRelativeToSelf(), buttonRect);
|
||||
nsRect buttonRect =
|
||||
mFrame->GetRectRelativeToSelf() + aBuilder->ToReferenceFrame(mFrame);
|
||||
|
||||
nsDisplayBackgroundImage::AppendBackgroundItemsToTop(
|
||||
aBuilder, mFrame, buttonRect, aBackground);
|
||||
|
||||
Reference in New Issue
Block a user