Skip to content

Commit 3e9bd58

Browse files
committed
Update code docs
1 parent 185ab6d commit 3e9bd58

4 files changed

Lines changed: 2 additions & 26 deletions

File tree

docs/components_JRScene.bs.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
m.loadingText = m.top.findNode("loadingText")
1212
m.spinner = m.top.findNode("spinner")
1313
m.imageFader = m.top.findNode("imageFader")
14-
localDevice = m.global.device
15-
m.imageFader.width = localDevice.uiResolution[0]
16-
m.imageFader.height = localDevice.uiResolution[1]
1714

1815
' Hide backdrop until setting is resolved on first backdrop request (lazy initialization)
1916
m.imageFader.visible = false

docs/components_ui_BackdropFader.bs.html

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
applyTheme()
1313

1414
m.background.observeField("bitmapWidth", "onBackgroundLoaded")
15-
m.top.observeField("width", "onSizeChange")
16-
m.top.observeField("height", "onSizeChange")
17-
m.top.observeField("scaleMode", "onSizeChange")
1815
m.top.observeField("uri", "onUriChange")
1916
end sub
2017

@@ -31,24 +28,6 @@
3128
m.shade.opacity = 0
3229
end sub
3330

34-
' If Size changed, change parameters to children
35-
sub onSizeChange()
36-
m.background.width = m.top.width
37-
m.oldBackground.width = m.top.width
38-
m.shade.width = m.top.width
39-
m.oldBackground.loadWidth = m.top.width
40-
m.background.loadWidth = m.top.width
41-
42-
m.oldBackground.height = m.top.height
43-
m.background.height = m.top.height
44-
m.shade.height = m.top.height
45-
m.oldBackground.loadHeight = m.top.height
46-
m.background.loadHeight = m.top.height
47-
48-
m.oldBackground.loadDisplayMode = m.top.scaleMode
49-
m.background.loadDisplayMode = m.top.scaleMode
50-
end sub
51-
5231
sub onBackgroundLoaded()
5332
transparentImage = "pkg:/images/transparent-16x9.png"
5433

docs/data/search.json

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

docs/module-BackdropFader.html

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

0 commit comments

Comments
 (0)