diff options
author | Lynx Linden <lynx@lindenlab.com> | 2010-02-01 14:21:05 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2010-02-01 14:21:05 +0000 |
commit | 17b7d606b12aac7b18fe9013e6d8de1c827ac690 (patch) | |
tree | 69255c65bd8fed2642fbfbfdd140d03a28d12b0c /indra/newview | |
parent | 244bef7d0cdb75f011f70d8cd834154eeb469088 (diff) |
EXT-4774: Fixed the position of the snapshot preview thumbnail.
The preview thumbnail no longer floats above the snapshot window when
the window is in its small (less) mode.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llfloatersnapshot.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp index a0031f0193..b6e9fb3f6c 100644 --- a/indra/newview/llfloatersnapshot.cpp +++ b/indra/newview/llfloatersnapshot.cpp @@ -2084,6 +2084,10 @@ void LLFloaterSnapshot::draw() S32 offset_x = (getRect().getWidth() - previewp->getThumbnailWidth()) / 2 ; S32 offset_y = thumbnail_rect.mBottom + (thumbnail_rect.getHeight() - previewp->getThumbnailHeight()) / 2 ; + if (! gSavedSettings.getBOOL("AdvanceSnapshot")) + { + offset_y += getUIWinHeightShort() - getUIWinHeightLong(); + } glMatrixMode(GL_MODELVIEW); gl_draw_scaled_image(offset_x, offset_y, |