Don't hide symbol/footprint preview widgets on scroll.

(cherry picked from commit dc8822b421)
This commit is contained in:
Alex Shvartzkop 2024-05-08 19:39:59 +03:00
parent ddd7c35586
commit 378300c733
1 changed files with 0 additions and 12 deletions

View File

@ -725,18 +725,6 @@ void LIB_TREE::onIdle( wxIdleEvent& aEvent )
if( m_previewItem.IsOk() )
{
// Scroll checker
if( m_tree_ctrl->GetItemRect( m_previewItem ) != m_previewItemRect )
{
hidePreview();
m_hoverPos = clientPos;
m_hoverItem = item;
m_hoverItemRect = m_tree_ctrl->GetItemRect( m_hoverItem );
m_hoverTimer.StartOnce( HOVER_TIMER_MILLIS );
return;
}
if( item != m_previewItem )
{
#ifdef __WXGTK__