w: filename_dimensions.w,
h: filename_dimensions.h,
},
- Color::from_rgba(0, 0, 0, 160),
+ Color::from_rgba(0, 0, 0, self.opts.text_bg_opacity),
)?;
}
if !self.opts.disable_show_album {
w: album_dimensions.w,
h: album_dimensions.h,
},
- Color::from_rgba(0, 0, 0, 160),
+ Color::from_rgba(0, 0, 0, self.opts.text_bg_opacity),
)?;
}
if !self.opts.disable_show_artist {
w: artist_dimensions.w,
h: artist_dimensions.h,
},
- Color::from_rgba(0, 0, 0, 160),
+ Color::from_rgba(0, 0, 0, self.opts.text_bg_opacity),
)?;
}
if !self.opts.disable_show_title {
w: title_dimensions.w,
h: title_dimensions.h,
},
- Color::from_rgba(0, 0, 0, 160),
+ Color::from_rgba(0, 0, 0, self.opts.text_bg_opacity),
)?;
}
let mesh: Mesh = mesh_builder
w: timer_dimensions.w,
h: timer_dimensions.h,
},
- Color::from_rgba(0, 0, 0, 160),
+ Color::from_rgba(0, 0, 0, self.opts.text_bg_opacity),
)?
.build(ctx)?;