Skip to content

Commit be49f79

Browse files
macnellynot-fl3
authored andcommitted
remove condition that prevents setting the cursor after the text
1 parent b70a72a commit be49f79

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ui/widgets/editbox.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,6 @@ impl<'a> Editbox<'a> {
392392
None,
393393
);
394394
}
395-
// hack to draw a caret after text but do not bother with the extra symbol
396-
if n == text.len() {
397-
break;
398-
}
399395

400396
let mut font = context.style.editbox_style.font.borrow_mut();
401397
let font_size = context.style.editbox_style.font_size;

0 commit comments

Comments
 (0)