mirror of
https://gitee.com/idea4good/GuiLite.git
synced 2025-01-29 17:22:55 +08:00
fix slide page touch issue
This commit is contained in:
parent
8a77ba553d
commit
c24618ad97
@ -155,6 +155,8 @@ void c_slide_group::disabel_all_slide()
|
|||||||
|
|
||||||
bool c_slide_group::on_touch(int x, int y, TOUCH_ACTION action)
|
bool c_slide_group::on_touch(int x, int y, TOUCH_ACTION action)
|
||||||
{
|
{
|
||||||
|
x -= m_wnd_rect.m_left;
|
||||||
|
y -= m_wnd_rect.m_top;
|
||||||
if (m_slides[m_active_slide_index])
|
if (m_slides[m_active_slide_index])
|
||||||
{
|
{
|
||||||
m_slides[m_active_slide_index]->on_touch(x, y, action);
|
m_slides[m_active_slide_index]->on_touch(x, y, action);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user