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
This commit is contained in:
parent
2b88d81294
commit
f5b639ec0f
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue