mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-11 17:28:59 +08:00
Fix for checkbox tooltip
This commit is contained in:
parent
5fc186a904
commit
163f81f1d4
@ -2863,7 +2863,6 @@ bool GLGizmoEmboss::revertible(const std::string &name,
|
||||
else
|
||||
ImGuiWrapper::text(name);
|
||||
|
||||
bool result = draw();
|
||||
// render revert changes button
|
||||
if (changed) {
|
||||
ImGuiWindow *window = ImGui::GetCurrentWindow();
|
||||
@ -2876,7 +2875,7 @@ bool GLGizmoEmboss::revertible(const std::string &name,
|
||||
ImGui::SetTooltip("%s", undo_tooltip.c_str());
|
||||
window->DC.CursorPosPrevLine.x = prev_x; // set back previous position
|
||||
}
|
||||
return result;
|
||||
return draw();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user