Skip to content

Commit

Permalink
fix a selection region calculation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed Dec 28, 2024
1 parent f6e76a9 commit 8158b3c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ARM.Arm-2D.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
</RTE_Components_h>
</component>

<component Cclass="Acceleration" Cgroup="Arm-2D Helper" Csub="PFB" Cversion="2.5.1" condition="Arm-2D-CORE">
<component Cclass="Acceleration" Cgroup="Arm-2D Helper" Csub="PFB" Cversion="2.5.2" condition="Arm-2D-CORE">
<description>Helper services for LCD adaptor(s), e.g. Generic Partial Framebuffer, Scene Player etc.</description>
<files>
<file category="include" name="Helper/Include/" />
Expand Down
4 changes: 2 additions & 2 deletions Helper/Include/arm_2d_helper_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* Title: #include "arm_2d_helper_list.h"
* Description: Public header file for list core related services
*
* $Date: 16. Dec 2024
* $Revision: V.2.3.0
* $Date: 28. Dec 2024
* $Revision: V.2.3.1
*
* Target Processor: Cortex-M cores
* -------------------------------------------------------------------- */
Expand Down
4 changes: 3 additions & 1 deletion Helper/Source/arm_2d_helper_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* Title: #include "arm_2d_helper_list.h"
* Description: Public header file for list core related services
*
* $Date: 16. Dec 2024
* $Date: 28. Dec 2024
* $Revision: V.2.3.0
*
* Target Processor: Cortex-M cores
Expand Down Expand Up @@ -1228,6 +1228,7 @@ arm_2d_err_t __calculator_offset_update(__arm_2d_list_core_t *ptThis,
int32_t nDelta = nVisualWindowStart - nSelectionOffset;

this.nOffset += nDelta;
nVisualWindowStart -= nDelta;

nOffset += nDelta;
bWindowMoved = true;
Expand Down Expand Up @@ -1258,6 +1259,7 @@ arm_2d_err_t __calculator_offset_update(__arm_2d_list_core_t *ptThis,
this.nOffset -= nDelta;

nOffset -= nDelta;
nVisualWindowStart += nDelta;
bWindowMoved = true;
}
}
Expand Down

0 comments on commit 8158b3c

Please sign in to comment.