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

This commit is contained in:
Alex Shvartzkop 2024-05-08 19:39:59 +03:00
parent 0f06d9c9e8
commit dc8822b421
1 changed files with 0 additions and 12 deletions

View File

@ -781,18 +781,6 @@ void LIB_TREE::onIdle( wxIdleEvent& aEvent )
if( m_previewItem.IsOk() ) 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 ) if( item != m_previewItem )
{ {
#ifdef __WXGTK__ #ifdef __WXGTK__