Do not set background color for b&w watch icons
This commit is contained in:
+1
-3
@@ -315,7 +315,7 @@ void neat_bar_layer_set_background_color(NeatBarLayer *neat_bar, GColor backgrou
|
|||||||
layer_mark_dirty(neat_bar->main_layer);
|
layer_mark_dirty(neat_bar->main_layer);
|
||||||
}
|
}
|
||||||
|
|
||||||
// default: 0
|
// default: DEFAULT_SPREAD
|
||||||
void neat_bar_layer_set_icons_spread(NeatBarLayer *neat_bar, int8_t spread) {
|
void neat_bar_layer_set_icons_spread(NeatBarLayer *neat_bar, int8_t spread) {
|
||||||
if (spread == neat_bar->icons_spread) {
|
if (spread == neat_bar->icons_spread) {
|
||||||
return;
|
return;
|
||||||
@@ -380,8 +380,6 @@ void neat_bar_layer_set_icon(NeatBarLayer *neat_bar, ButtonId button_id, GBitmap
|
|||||||
bitmap_layer_set_bitmap(current_bitmap_layer, icon);
|
bitmap_layer_set_bitmap(current_bitmap_layer, icon);
|
||||||
#if PBL_COLOR
|
#if PBL_COLOR
|
||||||
bitmap_layer_set_compositing_mode(current_bitmap_layer, GCompOpSet);
|
bitmap_layer_set_compositing_mode(current_bitmap_layer, GCompOpSet);
|
||||||
#else
|
|
||||||
bitmap_layer_set_background_color(current_bitmap_layer, neat_bar->background_color);
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user