diff options
author | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2024-09-21 21:26:01 +0200 |
---|---|---|
committer | Guru <alexandrgproductengine@lindenlab.com> | 2024-09-21 23:20:53 +0200 |
commit | 0fc76aad910bad219e8394b93c2aa336cf7ff22a (patch) | |
tree | e5e2a1353ac10fa54ca003ba5264dc777cd529f7 /indra | |
parent | fa4ea5b47967739ec7e7201609b4be57cb1130a5 (diff) |
#2618 Roles and Members tab is a mess (show ctrl pos in debug views)
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llui/llview.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp index 7d6c937b85..b4cd4075cf 100644 --- a/indra/llui/llview.cpp +++ b/indra/llui/llview.cpp @@ -1370,8 +1370,9 @@ void LLView::drawDebugRect() y = rect_height - LINE_HEIGHT * (depth % lines + 1); - std::string debug_text = llformat("%s (%d x %d)", getName().c_str(), - debug_rect.getWidth(), debug_rect.getHeight()); + std::string debug_text = llformat("%s [%d, %d] + (%d x %d)", getName().c_str(), + debug_rect.mLeft, mParentView->getRect().getHeight() - debug_rect.mTop, + debug_rect.getWidth(), debug_rect.getHeight()); LLFontGL::getFontSansSerifSmall()->renderUTF8(debug_text, 0, (F32)x, (F32)y, border_color, LLFontGL::HCENTER, LLFontGL::BASELINE, LLFontGL::NORMAL, LLFontGL::NO_SHADOW); } |