From 198cbcf24e4dfc6956ca418fd6529dc24ac35d5b Mon Sep 17 00:00:00 2001 From: David Seikel Date: Mon, 4 Apr 2011 03:00:08 +1000 Subject: Shift the console up by a magic number to not cover the login panel. A tiny, but annoying bug, that proved to be hard to track down. --- linden/indra/newview/llviewerwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/linden/indra/newview/llviewerwindow.cpp b/linden/indra/newview/llviewerwindow.cpp index e6e8a97..868094e 100644 --- a/linden/indra/newview/llviewerwindow.cpp +++ b/linden/indra/newview/llviewerwindow.cpp @@ -2845,6 +2845,7 @@ BOOL LLViewerWindow::handlePerFrameHover() } // In the future we may wish to hide the tools menu unless you // are building. JC + // I think the users generally told LL to get fucked on that silly idea. Pfffft //gMenuBarView->setItemVisible("Tools", gFloaterTools->getVisible()); //gMenuBarView->arrange(); } @@ -2917,7 +2918,9 @@ BOOL LLViewerWindow::handlePerFrameHover() // Always update console LLRect console_rect = getChatConsoleRect(); - console_rect.mBottom = gHUDView->getRect().mBottom + getChatConsoleBottomPad(); + // Add a magic number so the pre login console does not cover the login panel. + // TODO: Would be nice to only do this for the pre login window. + console_rect.mBottom = gHUDView->getRect().mBottom + getChatConsoleBottomPad() + 20; gConsole->reshape(console_rect.getWidth(), console_rect.getHeight()); gConsole->setRect(console_rect); } -- cgit v1.1