Skip to content

Commit

Permalink
TextBox: Bugfix, don't set tick timer
Browse files Browse the repository at this point in the history
The cursor doesn't use the tick timer any more, remove remaining code
setting it.
  • Loading branch information
Zirias committed Jul 31, 2024
1 parent ae75279 commit dd5f9e3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/bin/xmoji/textbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,6 @@ static void keyPressed(void *obj, const KeyEvent *event)
TextRenderer_setText(self->renderer, str);
PSC_Event_raise(self->textChanged, 0, (void *)str);
cursoronly:
PSC_Service_setTickInterval(600);
self->cursorvisible = 1;
Widget_invalidate(self);
if (oldSelection.len != self->selection.len
Expand Down Expand Up @@ -630,7 +629,6 @@ static int clicked(void *obj, const ClickEvent *event)
if (index != self->cursor || self->selection.len != selectlen)
{
Widget_invalidate(self);
PSC_Service_setTickInterval(600);
self->cursorvisible = 1;
}
self->cursor = index;
Expand Down

0 comments on commit dd5f9e3

Please sign in to comment.