aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TextBox.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-15 01:49:35 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-08-15 01:49:35 +0200
commit6c5120d8108af9ed53e7205d221cf96a281a28a4 (patch)
tree194329bce587f3f7035f9d4d6258728ac45f3d2b /src/GraphicObjects/TextBox.cs
parent721fa8de23a9c56396c1df9f012682b7f65775fb (diff)
CurrentInterface in GraphicObject base
Diffstat (limited to 'src/GraphicObjects/TextBox.cs')
-rw-r--r--src/GraphicObjects/TextBox.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GraphicObjects/TextBox.cs b/src/GraphicObjects/TextBox.cs
index 2be9585a..44690342 100644
--- a/src/GraphicObjects/TextBox.cs
+++ b/src/GraphicObjects/TextBox.cs
@@ -87,7 +87,7 @@ namespace Crow
if (!MoveRight ())
return;
}else if (e.Shift)
- Interface.CurrentInterface.Clipboard = this.SelectedText;
+ CurrentInterface.Clipboard = this.SelectedText;
this.DeleteChar ();
break;
case Key.Enter:
@@ -136,9 +136,9 @@ namespace Crow
break;
case Key.Insert:
if (e.Shift)
- this.Insert (Interface.CurrentInterface.Clipboard);
+ this.Insert (CurrentInterface.Clipboard);
else if (e.Control && !selectionIsEmpty)
- Interface.CurrentInterface.Clipboard = this.SelectedText;
+ CurrentInterface.Clipboard = this.SelectedText;
break;
case Key.Left:
if (e.Shift) {