Make ui::edit caret visible when changing its position via cursor
This commit is contained in:
parent
9a56228231
commit
ec228d481b
1 changed files with 2 additions and 0 deletions
|
|
@ -151,6 +151,8 @@ namespace psemek::ui
|
||||||
});
|
});
|
||||||
|
|
||||||
caret_ = it - cached_state_->glyphs.begin();
|
caret_ = it - cached_state_->glyphs.begin();
|
||||||
|
caret_blink_timer_ = 0.f;
|
||||||
|
caret_visible_ = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue