From f5b639ec0f6aa8e6709b64d06d01f586cdf2a324 Mon Sep 17 00:00:00 2001 From: Lynix Date: Sat, 11 Nov 2017 18:19:44 +0100 Subject: [PATCH] Sdk/TextAreaWidget: Fix detail about cursor When moving cursor to the left when already at the beginning of a line, make it move to the upper line --- SDK/src/NDK/Widgets/TextAreaWidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SDK/src/NDK/Widgets/TextAreaWidget.cpp b/SDK/src/NDK/Widgets/TextAreaWidget.cpp index 6e38fb655..a963d17e9 100644 --- a/SDK/src/NDK/Widgets/TextAreaWidget.cpp +++ b/SDK/src/NDK/Widgets/TextAreaWidget.cpp @@ -177,7 +177,7 @@ namespace Ndk if (ignoreDefaultAction) break; - MoveCursor({-1, 0}); + MoveCursor(-1); break; } @@ -189,7 +189,7 @@ namespace Ndk if (ignoreDefaultAction) break; - MoveCursor({1, 0}); + MoveCursor(1); break; }