diff options
Diffstat (limited to 'linden/indra/newview/llpreviewtexture.cpp')
-rw-r--r-- | linden/indra/newview/llpreviewtexture.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/newview/llpreviewtexture.cpp b/linden/indra/newview/llpreviewtexture.cpp index b8fa668..9f401f4 100644 --- a/linden/indra/newview/llpreviewtexture.cpp +++ b/linden/indra/newview/llpreviewtexture.cpp | |||
@@ -427,6 +427,9 @@ void LLPreviewTexture::updateAspectRatio() | |||
427 | view_height += BTN_HEIGHT + CLIENT_RECT_VPAD; | 427 | view_height += BTN_HEIGHT + CLIENT_RECT_VPAD; |
428 | button_height = BTN_HEIGHT + PREVIEW_PAD; | 428 | button_height = BTN_HEIGHT + PREVIEW_PAD; |
429 | } | 429 | } |
430 | |||
431 | view_width = llmax(view_width, getMinWidth()); | ||
432 | view_height = llmax(view_height, getMinHeight()); | ||
430 | 433 | ||
431 | if (client_height != mLastHeight || client_width != mLastWidth) | 434 | if (client_height != mLastHeight || client_width != mLastWidth) |
432 | { | 435 | { |