Fixed resize limits problem
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14758 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -614,19 +614,11 @@ WinBorder::MouseMoved(const BMessage *msg)
|
|||||||
|
|
||||||
if (fIsDragging) {
|
if (fIsDragging) {
|
||||||
BPoint delta = where - fLastMousePosition;
|
BPoint delta = where - fLastMousePosition;
|
||||||
#ifndef NEW_CLIPPING
|
|
||||||
MoveBy(delta.x, delta.y);
|
MoveBy(delta.x, delta.y);
|
||||||
#else
|
|
||||||
do_MoveBy(delta.x, delta.y);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
if (fIsResizing) {
|
if (fIsResizing) {
|
||||||
BPoint delta = where - fLastMousePosition;
|
BPoint delta = where - fLastMousePosition;
|
||||||
#ifndef NEW_CLIPPING
|
|
||||||
ResizeBy(delta.x, delta.y);
|
ResizeBy(delta.x, delta.y);
|
||||||
#else
|
|
||||||
do_ResizeBy(delta.x, delta.y);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
if (fIsSlidingTab) {
|
if (fIsSlidingTab) {
|
||||||
// TODO: implement
|
// TODO: implement
|
||||||
|
|||||||
Reference in New Issue
Block a user