summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_touchsupport.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/skin_touchsupport.c')
-rw-r--r--apps/gui/skin_engine/skin_touchsupport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_touchsupport.c b/apps/gui/skin_engine/skin_touchsupport.c
index 9c0cda779a..09fbd86acd 100644
--- a/apps/gui/skin_engine/skin_touchsupport.c
+++ b/apps/gui/skin_engine/skin_touchsupport.c
@@ -95,6 +95,8 @@ int skin_get_touchaction(struct wps_data *data, int* edge_offset)
95 *edge_offset = vx*100/r->width; 95 *edge_offset = vx*100/r->width;
96 else 96 else
97 *edge_offset = vy*100/r->height; 97 *edge_offset = vy*100/r->height;
98 if (r->reverse_bar)
99 *edge_offset = 100 - *edge_offset;
98 } 100 }
99 returncode = r->type; 101 returncode = r->type;
100 break; 102 break;