Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rds1983 committed Oct 23, 2023
1 parent f41e993 commit e37aba7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Myra/Graphics2D/UI/TextBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1410,6 +1410,7 @@ public override void InternalRender(RenderContext context)

if (_isTouchDown)
{
// This makes the text to scroll if the touch is outside of the TextBox bounds
var passed = DateTime.Now - _lastCursorUpdate;
if (passed.TotalMilliseconds > CursorUpdateDelayInMs)
{
Expand Down

0 comments on commit e37aba7

Please sign in to comment.