mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 02:09:02 +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
|
else
|
||||||
ImGuiWrapper::text(name);
|
ImGuiWrapper::text(name);
|
||||||
|
|
||||||
bool result = draw();
|
|
||||||
// render revert changes button
|
// render revert changes button
|
||||||
if (changed) {
|
if (changed) {
|
||||||
ImGuiWindow *window = ImGui::GetCurrentWindow();
|
ImGuiWindow *window = ImGui::GetCurrentWindow();
|
||||||
@ -2876,7 +2875,7 @@ bool GLGizmoEmboss::revertible(const std::string &name,
|
|||||||
ImGui::SetTooltip("%s", undo_tooltip.c_str());
|
ImGui::SetTooltip("%s", undo_tooltip.c_str());
|
||||||
window->DC.CursorPosPrevLine.x = prev_x; // set back previous position
|
window->DC.CursorPosPrevLine.x = prev_x; // set back previous position
|
||||||
}
|
}
|
||||||
return result;
|
return draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user