mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
BBug 554092, resizer overlaps content window scrollbar, r=roc
This commit is contained in:
parent
08d2de7ec0
commit
3bbcde7acc
@ -3047,11 +3047,10 @@ nsGfxScrollFrameInner::AdjustScrollbarRectForResizer(
|
||||
if (!widget || !widget->ShowsResizeIndicator(&widgetRect))
|
||||
return;
|
||||
|
||||
nsRect resizerRect =
|
||||
nsRect(aPresContext->DevPixelsToAppUnits(widgetRect.x) - offset.x,
|
||||
aPresContext->DevPixelsToAppUnits(widgetRect.y) - offset.y,
|
||||
aPresContext->DevPixelsToAppUnits(widgetRect.width),
|
||||
aPresContext->DevPixelsToAppUnits(widgetRect.height));
|
||||
resizerRect = nsRect(aPresContext->DevPixelsToAppUnits(widgetRect.x) - offset.x,
|
||||
aPresContext->DevPixelsToAppUnits(widgetRect.y) - offset.y,
|
||||
aPresContext->DevPixelsToAppUnits(widgetRect.width),
|
||||
aPresContext->DevPixelsToAppUnits(widgetRect.height));
|
||||
}
|
||||
|
||||
if (!resizerRect.Contains(aRect.BottomRight() - nsPoint(1, 1)))
|
||||
|
Loading…
Reference in New Issue
Block a user