Skip to content

Commit

Permalink
disable left right dpad scrolling by 10
Browse files Browse the repository at this point in the history
  • Loading branch information
LlysiX authored Jan 26, 2024
1 parent 3ab385e commit 52788ae
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions _ark/ui/song_select.dta
Original file line number Diff line number Diff line change
Expand Up @@ -884,18 +884,19 @@
(synth play button_select)
kNetReliable}
{$this component_select song.lst $player $player_num})
({&&
{== $action kAction_Right}
{!
{song.lst is_scrolling}}}
{song.lst set_scroll_user $user}
{song.lst scroll 10}) ; dx scroll the list down by 10 slots when pressing right dpad
({&&
{== $action kAction_Left}
{!
{song.lst is_scrolling}}}
{song.lst set_scroll_user $user}
{song.lst scroll -10}) ; dx scroll the list up by 10 slots when pressing left dpad
;({&&
; {== $action kAction_Right}
; {!
; {song.lst is_scrolling}}}
; {song.lst set_scroll_user $user}
; {song.lst scroll 10}) ; dx scroll the list down by 10 slots when pressing right dpad
;({&&
; {== $action kAction_Left}
; {!
; {song.lst is_scrolling}}}
; {song.lst set_scroll_user $user}
; {song.lst scroll -10}) ; dx scroll the list up by 10 slots when pressing left dpad
;removed due to crashing
(TRUE kDataUnhandled)})
(on_button_held
($user_num $user $raw_button $action $pad_num)
Expand Down

0 comments on commit 52788ae

Please sign in to comment.