aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/src/Editor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/common/src/Editor.cs')
-rw-r--r--Samples/common/src/Editor.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Samples/common/src/Editor.cs b/Samples/common/src/Editor.cs
index 90335d83..0de7af55 100644
--- a/Samples/common/src/Editor.cs
+++ b/Samples/common/src/Editor.cs
@@ -6,13 +6,15 @@ using System;
using Glfw;
using Crow.Text;
using System.Collections.Generic;
-using Crow.Drawing;
+
using System.Threading.Tasks;
using System.Linq;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Collections;
+using Drawing2D;
+
namespace Crow
{
public class Editor : TextBox {
@@ -293,7 +295,7 @@ namespace Crow
base.onKeyDown(sender, e);
}
- protected override void drawContent (Context gr) {
+ protected override void drawContent (IContext gr) {
try {
lock(TokenMutex) {
if (source == null || source.Tokens.Length == 0) {