Guard GCompOpSet to prevent issues on b&w watches

This commit is contained in:
2026-07-19 19:53:40 -04:00
parent 1ec561c3e1
commit 7fc72e0b08
+2
View File
@@ -273,7 +273,9 @@ void neat_bar_layer_set_icon(NeatBarLayer *neat_bar, ButtonId button_id, GBitmap
} }
bitmap_layer_set_alignment(current_bitmap_layer, GAlignCenter); bitmap_layer_set_alignment(current_bitmap_layer, GAlignCenter);
bitmap_layer_set_bitmap(current_bitmap_layer, icon); bitmap_layer_set_bitmap(current_bitmap_layer, icon);
#if PBL_COLOR
bitmap_layer_set_compositing_mode(current_bitmap_layer, GCompOpSet); bitmap_layer_set_compositing_mode(current_bitmap_layer, GCompOpSet);
#endif
} }
NeatBarLayer *neat_bar_layer_create() { NeatBarLayer *neat_bar_layer_create() {