calling _ResizeBy with zero offset doesn't do anything
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14731 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -134,8 +134,7 @@ WinBorder::WinBorder(const BRect &frame,
|
|||||||
GetRootLayer()->GetDesktop()->ScreenAt(0)->GetMode(width, height, colorSpace, frequency);
|
GetRootLayer()->GetDesktop()->ScreenAt(0)->GetMode(width, height, colorSpace, frequency);
|
||||||
_ResizeBy(width - frame.Width(), height - frame.Height());
|
_ResizeBy(width - frame.Width(), height - frame.Height());
|
||||||
}
|
}
|
||||||
} else
|
}
|
||||||
_ResizeBy(0, 0);
|
|
||||||
|
|
||||||
#ifndef NEW_CLIPPING
|
#ifndef NEW_CLIPPING
|
||||||
RebuildFullRegion();
|
RebuildFullRegion();
|
||||||
|
|||||||
Reference in New Issue
Block a user