Fix ui::edit text rendering
This commit is contained in:
parent
44d74b5bd8
commit
1f0854fff6
1 changed files with 3 additions and 0 deletions
|
|
@ -442,6 +442,9 @@ namespace psemek::ui
|
|||
break;
|
||||
}
|
||||
|
||||
offset[0] = std::round(offset[0]);
|
||||
offset[1] = std::round(offset[1]);
|
||||
|
||||
p.begin_stencil();
|
||||
p.draw_rect(text_box_, {0, 0, 0, 255});
|
||||
p.commit_stencil();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue