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:
parent
878e800c67
commit
d7467f6923
@ -614,19 +614,11 @@ WinBorder::MouseMoved(const BMessage *msg)
|
||||
|
||||
if (fIsDragging) {
|
||||
BPoint delta = where - fLastMousePosition;
|
||||
#ifndef NEW_CLIPPING
|
||||
MoveBy(delta.x, delta.y);
|
||||
#else
|
||||
do_MoveBy(delta.x, delta.y);
|
||||
#endif
|
||||
}
|
||||
if (fIsResizing) {
|
||||
BPoint delta = where - fLastMousePosition;
|
||||
#ifndef NEW_CLIPPING
|
||||
ResizeBy(delta.x, delta.y);
|
||||
#else
|
||||
do_ResizeBy(delta.x, delta.y);
|
||||
#endif
|
||||
}
|
||||
if (fIsSlidingTab) {
|
||||
// TODO: implement
|
||||
|
Loading…
x
Reference in New Issue
Block a user