From 271d0e30f356794e26b4c215817a206925d80230 Mon Sep 17 00:00:00 2001 From: slava Date: Fri, 29 Sep 2006 23:01:08 +0000 Subject: [PATCH] Minor fix for caret scroll to --- library/ui/text/editor.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ui/text/editor.factor b/library/ui/text/editor.factor index 1ebb8e5e1a..285f36b1ca 100644 --- a/library/ui/text/editor.factor +++ b/library/ui/text/editor.factor @@ -116,7 +116,7 @@ M: editor model-changed rot first rot line>y 2array ; : caret-dim ( editor -- dim ) - line-height 0 swap 2array ; + line-height 1 swap 2array ; : caret-rect ( editor -- dim ) dup caret-loc swap caret-dim ;