From a46bbf41c5db3def9056729cdf51f0d2aee3c931 Mon Sep 17 00:00:00 2001 From: lixianjing Date: Tue, 14 Dec 2021 17:54:34 +0800 Subject: [PATCH] improve hscroll label --- design/default/ui/hscroll_label.xml | 4 +- docs/changes.md | 1 + res/assets/default/inc/ui/hscroll_label.data | 52 ++++++++++--------- res/assets/default/raw/ui/hscroll_label.bin | Bin 2032 -> 2062 bytes src/ext_widgets/scroll_label/hscroll_label.c | 3 ++ 5 files changed, 34 insertions(+), 26 deletions(-) diff --git a/design/default/ui/hscroll_label.xml b/design/default/ui/hscroll_label.xml index 55f62e92f..d8650c305 100644 --- a/design/default/ui/hscroll_label.xml +++ b/design/default/ui/hscroll_label.xml @@ -38,8 +38,10 @@ + text="(always loop yoyo speed=0.1)为用户提供一个功能强大、高效可靠、简单易用、可轻松做出炫酷效果的 GUI 引擎。" /> only_focus) { + break; + } case EVT_POINTER_DOWN_ABORT: { if (hscroll_label_is_running(widget)) { hscroll_label_stop(widget);