Skip to content

Commit 0c535bd

Browse files
Fixed #35 by removing overhang visibility toggle in VisualLibraryScene and stopping the slide animations in Sidebar on visibility change
1 parent 47a70c9 commit 0c535bd

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

components/Libraries/VisualLibraryScene.bs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ sub init()
8282
m.itemGrid.focusBitmapBlendColor = chainLookupReturn(m.global.session, "user.settings.colorCursor", ColorPalette.HIGHLIGHT)
8383
m.genreGrid.focusBitmapBlendColor = chainLookupReturn(m.global.session, "user.settings.colorCursor", ColorPalette.HIGHLIGHT)
8484

85-
' Hide overhang
86-
m.overhang.isVisible = false
87-
8885
m.options.observeField("visible", "onOptionsVisibleChange")
8986

9087
m.loadedRows = 0

components/Sidebar.bs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,12 +643,16 @@ end sub
643643

644644
sub onVisibleChange()
645645
if m.top.disableMoveAnimation
646+
m.slideUpAnim.control = "stop"
647+
m.slideDownAnim.control = "stop"
646648
if isValid(m.sidebarContent) then m.sidebarContent.translation = [0, 0]
647649
return
648650
end if
649651
if m.top.isVisible
652+
m.slideUpAnim.control = "stop"
650653
m.slideDownAnim.control = "start"
651654
else
655+
m.slideDownAnim.control = "stop"
652656
m.slideUpAnim.control = "start"
653657
end if
654658
end sub

0 commit comments

Comments
 (0)