-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplify/fix code for NoteSkin preview
My old code for displaying and updating the NoteSkin preview in ScreenPlayerOptions was pretty convoluted, involving lots of parent and child lookups. Making matters worse, I found edge cases in which it broke down/didn't work. This commit simplifies the entire scheme by broadcasting the currently-selected NoteSkin from the SaveSelections() function in the NoteSkin CustomOptionRow definition and listening for that broadcast from OptionRow Frame.lua.
- Loading branch information
1 parent
002a402
commit 63d3ec2
Showing
3 changed files
with
13 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters