SAO UI placeholder album art uses theme's overlay color instead of magenta
This commit is contained in:
parent
80ba46a0d4
commit
4a78743c40
|
@ -1,7 +1,7 @@
|
|||
use api::*;
|
||||
use canary_script::*;
|
||||
|
||||
use canary_music_player::{AlbumInfo, PlaybackStatus, ProgressChanged, TrackInfo, OutMsg};
|
||||
use canary_music_player::{AlbumInfo, OutMsg, PlaybackStatus, ProgressChanged, TrackInfo};
|
||||
|
||||
use crate::widgets::prelude::*;
|
||||
use button::{RoundButton, RoundButtonStyle};
|
||||
|
@ -169,7 +169,8 @@ impl Container for MusicPlayerWidget {
|
|||
self.style.body.color,
|
||||
);
|
||||
|
||||
ctx.draw_rounded_rect(self.art_rect, self.style.rounding, Color::MAGENTA);
|
||||
let placeholder_art_color = THEME.palette.overlay;
|
||||
ctx.draw_rounded_rect(self.art_rect, self.style.rounding, placeholder_art_color);
|
||||
|
||||
ctx.draw_partially_rounded_rect(
|
||||
CornerFlags::BOTTOM,
|
||||
|
|
Loading…
Reference in New Issue