Guard GCompOpSet to prevent issues on b&w watches
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user