improve scroll_bar

This commit is contained in:
lixianjing 2024-02-05 12:39:12 +08:00
parent ab58e68374
commit 11f1764957
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
# 最新动态
2024/02/05
* 修复点击复制出来的scroll\_bar\_d控件的空白处会崩溃的问题(感谢培煌提供补丁)
2024/02/02
* 完善 asset\_type\_to\_str (感谢兆坤提供补丁)。

View File

@ -360,7 +360,7 @@ static ret_t scroll_bar_on_copy(widget_t* widget, widget_t* other) {
widget_on_copy_default(widget, other);
if (!scroll_bar_is_mobile(widget)) {
scroll_bar_create_children(other);
scroll_bar_create_children(widget);
}
return RET_OK;