* Fixed drawing glitch with B_FANCY_BORDER.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33492 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-10-09 10:25:22 +00:00
parent 0a10f2b5b7
commit 786fa7359e
+3 -2
View File
@@ -4,6 +4,7 @@
* All rights reserved. Distributed under the terms of the MIT license.
*/
#include "SeparatorView.h"
#include <new>
@@ -258,7 +259,7 @@ BSeparatorView::Draw(BRect updateRect)
}
}
// GetPreferredSize
void
BSeparatorView::GetPreferredSize(float* _width, float* _height)
{
@@ -464,7 +465,7 @@ BSeparatorView::_BorderSize() const
case B_PLAIN_BORDER:
return 1.0f;
case B_FANCY_BORDER:
return 3.0f;
return 2.0f;
case B_NO_BORDER:
default: