Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/pebble-mario.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <ClusterM@users.noreply.github.com>2015-05-23 08:01:36 +0300
committerAlexey 'Cluster' Avdyukhin <ClusterM@users.noreply.github.com>2015-05-23 08:01:36 +0300
commit19cc0773bcec0db07e6e6c915574d3db75698dce (patch)
treeb60e479360244c09e3dae5030e858fe63cf038bb
parent2262d33820f737a19b9e9b08131b57f091532044 (diff)
Tiny visual fix
-rw-r--r--appinfo.json2
-rw-r--r--src/pebble-mario.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/appinfo.json b/appinfo.json
index 5d22383..2f65955 100644
--- a/appinfo.json
+++ b/appinfo.json
@@ -173,7 +173,7 @@
"basalt"
],
"uuid": "43caa750-2896-4f46-94dc-1adbd4bc1ff3",
- "versionLabel": "3.12",
+ "versionLabel": "3.13",
"watchapp": {
"watchface": true
}
diff --git a/src/pebble-mario.c b/src/pebble-mario.c
index b23423b..db966d4 100644
--- a/src/pebble-mario.c
+++ b/src/pebble-mario.c
@@ -349,6 +349,7 @@ void phone_battery_update_callback(Layer *layer, GContext *ctx)
if (config_show_weather && (!config_show_phone_battery || left_info_mode == 0))
{
GRect image_rect = gbitmap_get_bounds(weather_icon_bmp);
+ image_rect.origin.y += (13-image_rect.size.h)/2;
graphics_draw_bitmap_in_rect(ctx, weather_icon_bmp, image_rect);
if (weather_temperature > -100)
@@ -510,7 +511,7 @@ void load_bitmaps()
void load_weather_icon()
{
#ifdef DEMO
- weather_icon_id = 10;
+ weather_icon_id = 1;
weather_temperature = 52;
#endif
if (weather_icon_bmp)