customizable tap zones for top menu

This commit is contained in:
chrox
2013-12-17 20:11:34 +08:00
parent f0039cbb02
commit da317ed14a
2 changed files with 5 additions and 4 deletions

View File

@@ -52,10 +52,10 @@ function ReaderMenu:initGesListener()
GestureRange:new{
ges = "tap",
range = Geom:new{
x = Screen:getWidth()/8,
y = 0,
w = Screen:getWidth()*3/4,
h = Screen:getHeight()/4,
x = Screen:getWidth()*DTAP_ZONE_MENU.x,
y = Screen:getHeight()*DTAP_ZONE_MENU.y,
w = Screen:getWidth()*DTAP_ZONE_MENU.w,
h = Screen:getHeight()*DTAP_ZONE_MENU.h
}
}
},