The last value (0.1) on this line can be increased...
https://github.com/jscript-panel/component/blob/c51306cd0807db52bbe79133aa22c89b65e570c4/samples/jsplaylist/main.js#L973
edit: the most sensible thing to do is copy the whole function in to the main configuration window.
function DrawWallpaper(gr) {
if (images.wallpaper.Width / images.wallpaper.Height < ww / wh) {
var src_x = 0;
var src_w = images.wallpaper.Width;
var src_h = Math.round(wh * images.wallpaper.Width / ww);
var src_y = Math.round((images.wallpaper.Height - src_h) / 2);
} else {
var src_y = 0;
var src_w = Math.round(ww * images.wallpaper.Height / wh);
var src_h = images.wallpaper.Height;
var src_x = Math.round((images.wallpaper.Width - src_w) / 2);
}
gr.DrawImage(images.wallpaper, 0, p.list.y, ww, p.list.h, src_x, src_y, src_w, src_h, 0.1);
}
Copying/modifying it there means it will survive future component upgrades.
Works almost perfectly! Any way to change the opacity of the custom colors of JSPlaylist?
I don't mind this:
But I prefer the color to be semi-transparent.