summaryrefslogtreecommitdiff
path: root/indra/newview/lldebugview.cpp
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2011-06-15 07:02:28 -0400
committerJonathan Yap <none@none>2011-06-15 07:02:28 -0400
commite2a531791ed2c311e6e95061175ce2a9151ccf9d (patch)
tree84c5d49ee953ca8ae70a23c5b9d7aaa0387404e4 /indra/newview/lldebugview.cpp
parent12d9d1d3ef76518171ae87aae2467593218f8413 (diff)
STORM-1334 Console debug data scrolls away too quickly and is hard to read
Diffstat (limited to 'indra/newview/lldebugview.cpp')
-rw-r--r--indra/newview/lldebugview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/lldebugview.cpp b/indra/newview/lldebugview.cpp
index b6d67899f8..aa5d4fc922 100644
--- a/indra/newview/lldebugview.cpp
+++ b/indra/newview/lldebugview.cpp
@@ -59,10 +59,12 @@ LLDebugView::LLDebugView(const LLDebugView::Params& p)
void LLDebugView::init()
{
+ // Horizontal percentage of screen (not window) to draw debug data in
+ static const F32 debug_console_percentage = 0.75;
LLRect r;
LLRect rect = getLocalRect();
- r.set(10, rect.getHeight() - 100, rect.getWidth()/2, 100);
+ r.set(10, rect.getHeight() - 100, rect.getWidth() * debug_console_percentage, 100);
LLConsole::Params cp;
cp.name("debug console");
cp.max_lines(20);