Changed ROUTER_PREVIEW_ITEM layer.

This commit is contained in:
Maciej Suminski 2014-02-03 13:09:10 +01:00
parent db252ea88c
commit 864c86062d
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ ROUTER_PREVIEW_ITEM::ROUTER_PREVIEW_ITEM( const PNS_ITEM* aItem, VIEW_GROUP* aPa
{ {
m_Flags = 0; m_Flags = 0;
m_parent = aParent; m_parent = aParent;
m_layer = DRAW_N;
if( aItem ) if( aItem )
Update( aItem ); Update( aItem );

View File

@ -73,7 +73,7 @@ public:
virtual void ViewGetLayers( int aLayers[], int& aCount ) const virtual void ViewGetLayers( int aLayers[], int& aCount ) const
{ {
aLayers[0] = GP_OVERLAY; aLayers[0] = m_layer;
aCount = 1; aCount = 1;
} }