diff options
| author | mark9064 <30447455+mark9064@users.noreply.github.com> | 2024-08-29 16:39:55 +0100 |
|---|---|---|
| committer | mark9064 <30447455+mark9064@users.noreply.github.com> | 2025-10-10 11:42:32 +0100 |
| commit | 8422923ea0ade3d822eaa40685ad5c465a630bf9 (patch) | |
| tree | 5f41e0668b7be9cbb4bfbf76279f008b06decf05 /src/displayapp/LittleVgl.cpp | |
| parent | 0881edd2e6404a21224af2667e8becddf188cf24 (diff) | |
Resolve paint corrupting screen scrolling
Diffstat (limited to 'src/displayapp/LittleVgl.cpp')
| -rw-r--r-- | src/displayapp/LittleVgl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/displayapp/LittleVgl.cpp b/src/displayapp/LittleVgl.cpp index c6f6f784..f9791c30 100644 --- a/src/displayapp/LittleVgl.cpp +++ b/src/displayapp/LittleVgl.cpp @@ -149,6 +149,10 @@ void LittleVgl::SetFullRefresh(FullRefreshDirections direction) { fullRefresh = true; } +bool LittleVgl::IsScrolling() { + return scrollDirection != LittleVgl::FullRefreshDirections::None; +} + void LittleVgl::FlushDisplay(const lv_area_t* area, lv_color_t* color_p) { uint16_t y1, y2, width, height = 0; |
