Add a Wayland hack to hover previews.
This commit is contained in:
parent
87fba5350f
commit
42c9553262
|
@ -726,7 +726,14 @@ void LIB_TREE::onIdle( wxIdleEvent& aEvent )
|
|||
}
|
||||
|
||||
if( item != m_previewItem )
|
||||
{
|
||||
#ifdef __WXGTK__
|
||||
// Hide the preview, because Wayland can't move windows.
|
||||
if( wxGetDisplayInfo().type == wxDisplayType::wxDisplayWayland )
|
||||
hidePreview();
|
||||
#endif
|
||||
showPreview( item );
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue