improve slide view

This commit is contained in:
xianjimli 2019-08-05 12:05:57 +08:00
parent 35659907c4
commit 74c4c8cbdc
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
* 2019/08/04-05
* 优化nanovg GL fragment shader。
* 完善Android移植。
* 完善slide view控件(感谢朝泽提供补丁)
* 2019/08/03
* 完善Android移植。

View File

@ -282,7 +282,7 @@ static ret_t slide_view_on_event(widget_t* widget, event_t* e) {
break;
}
return RET_OK;
return slide_view->dragged ? RET_STOP : RET_OK;
}
static widget_t* slide_view_find_target(widget_t* widget, xy_t x, xy_t y) {