Fix cosmetic bugs that occurred when the temporary upload option was added to the snapshot floater
This commit is contained in:
@@ -80,8 +80,8 @@
|
||||
///----------------------------------------------------------------------------
|
||||
/// Local function declarations, constants, enums, and typedefs
|
||||
///----------------------------------------------------------------------------
|
||||
S32 LLFloaterSnapshot::sUIWinHeightLong = 526 ;
|
||||
S32 LLFloaterSnapshot::sUIWinHeightShort = LLFloaterSnapshot::sUIWinHeightLong - 230 ;
|
||||
S32 LLFloaterSnapshot::sUIWinHeightLong = 546 ;
|
||||
S32 LLFloaterSnapshot::sUIWinHeightShort = LLFloaterSnapshot::sUIWinHeightLong - 250 ;
|
||||
S32 LLFloaterSnapshot::sUIWinWidth = 215 ;
|
||||
|
||||
LLSnapshotFloaterView* gSnapshotFloaterView = NULL;
|
||||
@@ -1274,6 +1274,7 @@ void LLFloaterSnapshot::Impl::updateControls(LLFloaterSnapshot* floater)
|
||||
floater->childSetVisible("freeze_frame_check", is_advance);
|
||||
floater->childSetVisible("auto_snapshot_check", is_advance);
|
||||
floater->childSetVisible("image_quality_slider", is_advance && show_slider);
|
||||
floater->childSetVisible("temp_check", is_advance);
|
||||
|
||||
LLSnapshotLivePreview* previewp = getPreviewView(floater);
|
||||
BOOL got_bytes = previewp && previewp->getDataSize() > 0;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<floater bottom="-300" can_close="true" can_drag_on_left="false" can_minimize="false"
|
||||
can_resize="false" follows="left|top" height="546" name="Snapshot"
|
||||
can_resize="false" follows="left|top" height="566" name="Snapshot"
|
||||
rect_control="FloaterSnapshotRect" title="Snapshot Preview" width="215">
|
||||
<text bottom_delta="-40" follows="top|left" height="15" left="10" name="type_label"
|
||||
width="195">
|
||||
|
||||
Reference in New Issue
Block a user