Skip to content

Commit 689f6dc

Browse files
committed
Update code docs
1 parent 9d0476a commit 689f6dc

3 files changed

Lines changed: 13 additions & 6 deletions

File tree

docs/components_ItemDetails.bs.html

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@
99
import "pkg:/source/utils/streamSelection.bs"
1010

1111
' Y translation extrasGrp reaches after sliding open (ExtrasSlider.xml VertSlider end keyValue)
12-
const EXTRAS_GRP_TARGET_Y = 378
12+
const EXTRAS_GRP_TARGET_Y = 306
1313
' Gap between bottom of itemInfoRows and top of extras pane when extras are open
14-
const ITEM_DETAILS_EXTRAS_PADDING = 6
14+
const ITEM_DETAILS_EXTRAS_PADDING = 48
1515
' Minimum display height for the logo image — images too small are scaled up (aspect ratio preserved).
16-
' Note: LOGO_MAX_DISPLAY_WIDTH takes precedence for very wide/flat logos; this minimum may not be reached.
17-
const LOGO_MIN_DISPLAY_HEIGHT = 212
16+
const LOGO_MIN_DISPLAY_HEIGHT = 212 ' Note: LOGO_MAX_DISPLAY_WIDTH takes precedence for very wide/flat logos; this minimum may not be reached.
1817
' Maximum display width for the logo image — prevents very wide/flat logos from overlapping buttons
1918
const LOGO_MAX_DISPLAY_WIDTH = 500
2019

@@ -1550,6 +1549,10 @@
15501549

15511550
activateExtras()
15521551

1552+
' Hide description and tracks before sliding up so they don't show during the transition
1553+
m.itemDescription.opacity = 0
1554+
m.itemTracks.opacity = 0
1555+
15531556
' Animate itemDetails to top (synced with extras slider)
15541557
m.itemDetailsSliderInterp.reverse = false
15551558
m.itemDetailsSlider.control = "start"
@@ -1568,6 +1571,10 @@
15681571

15691572
deactivateExtras()
15701573

1574+
' Restore description and tracks before sliding back down
1575+
m.itemDescription.opacity = 1
1576+
m.itemTracks.opacity = 1
1577+
15711578
' Animate itemDetails back to rest position (synced with extras slider)
15721579
m.itemDetailsSliderInterp.reverse = true
15731580
m.itemDetailsSlider.control = "start"

docs/data/search.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/module-ItemDetails.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)