Fix typo.

This commit is contained in:
Jeff Young 2023-10-14 18:22:17 +01:00
parent 504652b972
commit 87621817bf
2 changed files with 4 additions and 4 deletions

View File

@ -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 )

View File

@ -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).