BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
727ed405
Commit
727ed405
authored
Dec 20, 2016
by
Kiss-Vamosi Gabor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv_dispi bugfix with LV_SIGNAL_PRESSING
parent
cc0d2fef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lv_dispi.c
lv_obj/lv_dispi.c
+2
-1
No files found.
lv_obj/lv_dispi.c
View file @
727ed405
...
...
@@ -249,7 +249,6 @@ static void dispi_proc_press(lv_dispi_t * dispi_p)
/* The reset can be set in the signal function.
* In case of reset query ignore the remaining parts.*/
if
(
lv_dispi_reset_qry
==
false
)
{
pr_obj
->
signal_f
(
pr_obj
,
LV_SIGNAL_PRESSING
,
dispi_p
);
dispi_p
->
act_obj
=
pr_obj
;
/*Save the pressed object*/
dispi_p
->
last_obj
=
dispi_p
->
act_obj
;
/*Refresh the last_obj*/
...
...
@@ -259,6 +258,8 @@ static void dispi_proc_press(lv_dispi_t * dispi_p)
/*If there is active object and it can be dragged run the drag*/
if
(
dispi_p
->
act_obj
!=
NULL
)
{
dispi_p
->
act_obj
->
signal_f
(
dispi_p
->
act_obj
,
LV_SIGNAL_PRESSING
,
dispi_p
);
dispi_drag
(
dispi_p
);
/*If there is no drag then check for long press time*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment