Skip to content

Commit

Permalink
Update player.js reuse color options
Browse files Browse the repository at this point in the history
  • Loading branch information
raszpl authored May 9, 2024
1 parent 90710ea commit 7393fce
Showing 1 changed file with 3 additions and 25 deletions.
28 changes: 3 additions & 25 deletions menu/skeleton-parts/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -619,31 +619,9 @@ extension.skeleton.main.layers.section.player.on.click = {
subtitles_window_color: {
component: 'select',
text: 'windowColor',
options: [{
text: 'white',
value: '#fff'
}, {
text: 'yellow',
value: '#ff0'
}, {
text: 'green',
value: '#0f0'
}, {
text: 'cyan',
value: '#0ff'
}, {
text: 'blue',
value: '#00f'
}, {
text: 'magenta',
value: '#f0f'
}, {
text: 'red',
value: '#f00'
}, {
text: 'black',
value: '#000'
}]
options: function () {
return extension.skeleton.main.layers.section.player.on.click.section_1.subtitles.on.click.subtitles_background_color.options;
}
},
subtitles_window_opacity: {
component: 'slider',
Expand Down

1 comment on commit 7393fce

@ImprovedTube
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay!

Please sign in to comment.