From 0349b2530fd29c02ad4d7fa85c4144b8cf7c1457 Mon Sep 17 00:00:00 2001 From: Arjan Schrijver Date: Fri, 17 Jun 2022 22:42:58 +0200 Subject: [PATCH] Fossil Hybrid HR: Invert widgets color when the background image is inverted --- .../devices/qhybrid/HybridHRWatchfaceDesignerActivity.java | 5 +++++ .../devices/qhybrid/HybridHRWatchfaceWidget.java | 3 +++ 2 files changed, 8 insertions(+) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/qhybrid/HybridHRWatchfaceDesignerActivity.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/qhybrid/HybridHRWatchfaceDesignerActivity.java index 539fcd676..dd1c834be 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/qhybrid/HybridHRWatchfaceDesignerActivity.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/qhybrid/HybridHRWatchfaceDesignerActivity.java @@ -227,6 +227,11 @@ public class HybridHRWatchfaceDesignerActivity extends AbstractGBActivity implem } else if (v.getId() == R.id.watchface_invert_colors) { if (selectedBackgroundImage != null) { selectedBackgroundImage = BitmapUtil.invertBitmapColors(selectedBackgroundImage); + for (int i=0; i