Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(demo_music): fix the previous button in the music demo is not clickable #5808

Merged
merged 2 commits into from Mar 7, 2024

Conversation

verosys
Copy link
Contributor

@verosys verosys commented Mar 6, 2024

In the music demo, the button to go to the previous title (located to the left of the play button) is not clickable.

Root cause of this problem: The flag 'LV_OBJ_FLAG_CLICKABLE' is not set for this button.

Solution: In the file 'lv_demo_music_main.c' the following line must be added after line 588:
lv_obj_add_flag(icon, LV_OBJ_FLAG_CLICKABLE); // Make the prev button clickable

In the music demo, the button to go to the previous title (located to the left of the play button) is not clickable.

Root cause of this problem: The flag 'LV_OBJ_FLAG_CLICKABLE' is not set for this button.
@FASTSHIFT FASTSHIFT changed the title Bugfix: The previous button in the music demo is not clickable fix(demo_music): fix the previous button in the music demo is not clickable Mar 7, 2024
@FASTSHIFT FASTSHIFT merged commit 5764436 into lvgl:master Mar 7, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants