Compare commits

...

1 Commits

Author SHA1 Message Date
RandyTheSilly 7fc72e0b08 Guard GCompOpSet to prevent issues on b&w watches 2026-07-19 19:53:40 -04:00
+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() {