mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-13 22:11:49 +08:00
fix transparent icon
This commit is contained in:
parent
9d88830365
commit
970cbbd132
@ -3828,9 +3828,8 @@ void GLGizmoEmboss::draw_transparent_icon()
|
|||||||
size_uv.x/icon.size.x,
|
size_uv.x/icon.size.x,
|
||||||
size_uv.y/icon.size.y);
|
size_uv.y/icon.size.y);
|
||||||
// reduce uv coors to one pixel
|
// reduce uv coors to one pixel
|
||||||
icon.br = ImVec2(
|
icon.tl = ImVec2(0, 0);
|
||||||
icon.tl.x + one_px.x,
|
icon.br = one_px;
|
||||||
icon.tl.y + one_px.y);
|
|
||||||
IconManager::draw(icon);
|
IconManager::draw(icon);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user