summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersimpleoutfitsnapshot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloatersimpleoutfitsnapshot.cpp')
-rw-r--r--indra/newview/llfloatersimpleoutfitsnapshot.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/newview/llfloatersimpleoutfitsnapshot.cpp b/indra/newview/llfloatersimpleoutfitsnapshot.cpp
index 181e2ba10e..bab2efbbd5 100644
--- a/indra/newview/llfloatersimpleoutfitsnapshot.cpp
+++ b/indra/newview/llfloatersimpleoutfitsnapshot.cpp
@@ -182,8 +182,8 @@ BOOL LLFloaterSimpleOutfitSnapshot::postBuild()
return TRUE;
}
-const S32 PREVIEW_OFFSET_X = 2;
-const S32 PREVIEW_OFFSET_Y = 63;
+const S32 PREVIEW_OFFSET_X = 12;
+const S32 PREVIEW_OFFSET_Y = 70;
void LLFloaterSimpleOutfitSnapshot::draw()
{
@@ -216,7 +216,12 @@ void LLFloaterSimpleOutfitSnapshot::draw()
gl_draw_scaled_image(offset_x, offset_y,
thumbnail_w, thumbnail_h,
previewp->getThumbnailImage(), color % alpha);
+#if LL_DARWIN
+ std::string alpha_color = getTransparencyType() == TT_ACTIVE ? "OutfitSnapshotMacMask" : "OutfitSnapshotMacMask2";
+#else
std::string alpha_color = getTransparencyType() == TT_ACTIVE ? "FloaterFocusBackgroundColor" : "DkGray";
+#endif
+
previewp->drawPreviewRect(offset_x, offset_y, LLUIColorTable::instance().getColor(alpha_color));
gGL.pushUIMatrix();