mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 12:31:41 +00:00
Fix typo.
This commit is contained in:
parent
504652b972
commit
87621817bf
@ -1563,7 +1563,7 @@ void VIEW::SetVisible( VIEW_ITEM* aItem, bool aIsVisible )
|
||||
}
|
||||
|
||||
|
||||
void VIEW::Hide( VIEW_ITEM* aItem, bool aHide, bool aHideOveraly )
|
||||
void VIEW::Hide( VIEW_ITEM* aItem, bool aHide, bool aHideOverlay )
|
||||
{
|
||||
VIEW_ITEM_DATA* viewData = aItem->viewPrivData();
|
||||
|
||||
@ -1573,7 +1573,7 @@ void VIEW::Hide( VIEW_ITEM* aItem, bool aHide, bool aHideOveraly )
|
||||
if( !( viewData->m_flags & VISIBLE ) )
|
||||
return;
|
||||
|
||||
if( aHideOveraly )
|
||||
if( aHideOverlay )
|
||||
viewData->m_flags |= OVERLAY_HIDDEN;
|
||||
|
||||
if( aHide )
|
||||
|
@ -129,9 +129,9 @@ public:
|
||||
*
|
||||
* @param aItem: the item to modify.
|
||||
* @param aHide: whether the item is hidden, or not.
|
||||
* @param aHideOveraly: whether the item should also be hidden on overlays.
|
||||
* @param aHideOverlay: whether the item should also be hidden on overlays.
|
||||
*/
|
||||
void Hide( VIEW_ITEM* aItem, bool aHide = true, bool aHideOveraly = false );
|
||||
void Hide( VIEW_ITEM* aItem, bool aHide = true, bool aHideOverlay = false );
|
||||
|
||||
/**
|
||||
* Return information if the item is visible (or not).
|
||||
|
Loading…
Reference in New Issue
Block a user