Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[Fixes bug #1082136] Fix issues with text cursor not disappearing.

  • Loading branch information...
commit 582a3bdef18e834bcec1301019cb5f316795069e 1 parent 0fbf668
@cameronwhite cameronwhite authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 Pinta.Tools/Tools/TextTool.cs
View
6 Pinta.Tools/Tools/TextTool.cs
@@ -676,7 +676,7 @@ private void updateMouseCursor()
previousMouseCursorNormal = showNormalCursor;
if (PintaCore.Workspace.HasOpenDocuments)
- RedrawText(true, true);
+ RedrawText(is_editing, true);
}
}
else
@@ -687,7 +687,7 @@ private void updateMouseCursor()
previousMouseCursorNormal = showNormalCursor;
- RedrawText(true, true);
+ RedrawText(is_editing, true);
}
}
}
@@ -769,7 +769,7 @@ protected override void OnKeyDown (DrawingArea canvas, KeyPressEventArgs args)
case Gdk.Key.Escape:
StopEditing(false);
- break;
+ return;
case Gdk.Key.Insert:
if ((modifier & Gdk.ModifierType.ShiftMask) != 0)
{
Please sign in to comment.
Something went wrong with that request. Please try again.