mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
improve widget_on_pointer_down_children
This commit is contained in:
parent
0d15e96026
commit
7e273cd153
@ -2,6 +2,7 @@
|
||||
|
||||
2023/07/12
|
||||
* 修复dialog高亮销毁时没有刷新区域的问题(感谢兆坤提供补丁)
|
||||
* 优化点击事件处理逻辑,确保pointer_down的widget是enable且sensitive的(感谢陈聪提供补丁)
|
||||
|
||||
2023/07/06
|
||||
* 完善tools/common。
|
||||
|
@ -3119,7 +3119,7 @@ ret_t widget_on_pointer_down_children(widget_t* widget, pointer_event_t* e) {
|
||||
widget->target = target;
|
||||
}
|
||||
|
||||
if (widget->target != NULL) {
|
||||
if (widget->target != NULL && widget->target->enable && widget->target->sensitive) {
|
||||
ret = widget_on_pointer_down(widget->target, e);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user