Added a quick hack to mitigate font sensitivity problems until it can be handled properly

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18463 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2006-08-08 15:44:13 +00:00
parent 8ba08d23c4
commit 37c77046c2
+6
View File
@@ -419,6 +419,12 @@ MapView::MapView(BRect rect, const char *name, Keymap* keymap)
fCurrentMap(keymap),
fCurrentMouseKey(0)
{
// TODO: Properly handle font sensitivity in drawing the keys.
// This at least prevents the app from looking horrible until the font sensitivity for this app
// can be done the Right Way.
if(fCurrentFont.Size() > 14)
fCurrentFont.SetSize(14);
SetViewColor(B_TRANSPARENT_COLOR);
BRect frameRect = BRect(14, 16, Bounds().right-12, 30);