mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
small fixes
This commit is contained in:
parent
d3c9911640
commit
535c7d8326
4 changed files with 5 additions and 5 deletions
|
|
@ -363,7 +363,7 @@ static void p_set_text(UINode* node, int idx) {
|
|||
}
|
||||
static void p_set_caret(UINode* node, int idx) {
|
||||
if (auto box = dynamic_cast<TextBox*>(node)) {
|
||||
box->setCaret(static_cast<ssize_t>(state->tointeger(idx)));
|
||||
box->setCaret(static_cast<ptrdiff_t>(state->tointeger(idx)));
|
||||
}
|
||||
}
|
||||
static void p_set_editable(UINode* node, int idx) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue