From 1f07cf7563955c7a58c712d7128626f84c333ac3 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Mon, 20 Jul 2026 23:39:35 -0400 Subject: [PATCH] Specify background color for b&w watches --- README.md | 1 - src/c/neat_bar.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5dd59dc..746dd03 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,5 @@ - Duration, move distance/direction, and move axis are all configurable - They can also be disabled ### Pending Features -- Auto-background-adding on b&w watches - Optional AA on bar corners - Legacy (background invert) animations support diff --git a/src/c/neat_bar.c b/src/c/neat_bar.c index e039088..bd8ff89 100644 --- a/src/c/neat_bar.c +++ b/src/c/neat_bar.c @@ -380,6 +380,8 @@ void neat_bar_layer_set_icon(NeatBarLayer *neat_bar, ButtonId button_id, GBitmap bitmap_layer_set_bitmap(current_bitmap_layer, icon); #if PBL_COLOR bitmap_layer_set_compositing_mode(current_bitmap_layer, GCompOpSet); +#else + bitmap_layer_set_background_color(current_bitmap_layer, neat_bar->background_color); #endif }