mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Fix for tooltip not disappearing when loading an object using the top toolbar 'Add' command and when swithing to preview
This commit is contained in:
parent
4cef33c50f
commit
dcb603bed5
3 changed files with 27 additions and 7 deletions
|
@ -502,6 +502,7 @@ private:
|
|||
Labels m_labels;
|
||||
#if ENABLE_CANVAS_TOOLTIP_USING_IMGUI
|
||||
mutable Tooltip m_tooltip;
|
||||
mutable bool m_tooltip_enabled{ true };
|
||||
#endif // ENABLE_CANVAS_TOOLTIP_USING_IMGUI
|
||||
#if ENABLE_SLOPE_RENDERING
|
||||
Slope m_slope;
|
||||
|
@ -633,6 +634,9 @@ public:
|
|||
void on_timer(wxTimerEvent& evt);
|
||||
void on_mouse(wxMouseEvent& evt);
|
||||
void on_paint(wxPaintEvent& evt);
|
||||
#if ENABLE_CANVAS_TOOLTIP_USING_IMGUI
|
||||
void on_set_focus(wxFocusEvent& evt);
|
||||
#endif // ENABLE_CANVAS_TOOLTIP_USING_IMGUI
|
||||
|
||||
Size get_canvas_size() const;
|
||||
Vec2d get_local_mouse_position() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue