This commit is contained in:
Felix Kratz 2022-10-28 12:47:31 +02:00
parent f757304bf8
commit 21e4753391

View file

@ -156,7 +156,7 @@ bool background_clips_bar(struct background* background) {
}
void background_clip_bar(struct background* background, int offset, struct bar* bar) {
if (!background->enabled || background->clip == 0.f) return;
if (!background_clips_bar(background)) return;
struct background* clip = background_get_clip(background, bar->adid);
background_update_clip(background, clip);