fix transparent icon
This commit is contained in:
parent
9d88830365
commit
970cbbd132
1 changed files with 2 additions and 3 deletions
|
@ -3828,9 +3828,8 @@ void GLGizmoEmboss::draw_transparent_icon()
|
|||
size_uv.x/icon.size.x,
|
||||
size_uv.y/icon.size.y);
|
||||
// reduce uv coors to one pixel
|
||||
icon.br = ImVec2(
|
||||
icon.tl.x + one_px.x,
|
||||
icon.tl.y + one_px.y);
|
||||
icon.tl = ImVec2(0, 0);
|
||||
icon.br = one_px;
|
||||
IconManager::draw(icon);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue