Use fDragRegion width not left, you can't depend on the screen position reliably
This commit is contained in:
@@ -492,9 +492,10 @@ TBarView::PlaceApplicationBar()
|
|||||||
if (fBarMenuBar != NULL)
|
if (fBarMenuBar != NULL)
|
||||||
expandoFrame.left = fBarMenuBar->Frame().Width();
|
expandoFrame.left = fBarMenuBar->Frame().Width();
|
||||||
|
|
||||||
if (fTrayLocation != 0)
|
if (fTrayLocation != 0 && fDragRegion != NULL) {
|
||||||
expandoFrame.right = fDragRegion->Frame().left - 1;
|
expandoFrame.right = screenFrame.Width()
|
||||||
else
|
- fDragRegion->Frame().Width() - 1;
|
||||||
|
} else
|
||||||
expandoFrame.right = screenFrame.Width();
|
expandoFrame.right = screenFrame.Width();
|
||||||
|
|
||||||
menuScrollFrame = expandoFrame;
|
menuScrollFrame = expandoFrame;
|
||||||
|
|||||||
Reference in New Issue
Block a user