Don't hide symbol/footprint preview widgets on scroll.
This commit is contained in:
parent
0f06d9c9e8
commit
dc8822b421
|
@ -781,18 +781,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__
|
||||
|
|
Loading…
Reference in New Issue