Ubuntu Pastebin

Paste from Albert Astals Cid at Mon, 7 Mar 2016 14:26:33 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
+        if (hasSummary) {
+            socialTopAnchor = 'summary.bottom;';
+        } else {
+            if (isHorizontal && hasArt) socialTopAnchor = 'artShapeHolder.bottom;';
+            else if (headerAsOverlay && hasArt) socialTopAnchor = 'artShapeHolder.bottom;';
+            else if (hasHeaderRow) socialTopAnchor = 'row.bottom;';
+            else if (hasTitleContainer) socialTopAnchor = 'headerTitleContainer.bottom;';
+            else if (hasMascot) socialTopAnchor = 'mascotImage.bottom;';
+            else if (hasAttributes) socialTopAnchor = 'attributesRow.bottom;';
+            else if (hasSubtitle) socialTopAnchor = 'subtitleLabel.bottom;';
+            else if (hasTitle) socialTopAnchor = 'titleLabel.bottom;';
+            else if (hasArt) socialTopAnchor = 'artShapeHolder.bottom;';
+            else socialTopAnchor = 'parent.top';
+ }
Download as text