Fix typo in previous commit

This commit is contained in:
Seth Hillbrand 2021-09-13 20:23:52 -07:00
parent 2fdd805eda
commit 1c409ff90a
1 changed files with 2 additions and 2 deletions

View File

@ -1479,7 +1479,7 @@ BITMAPS SCH_GLOBALLABEL::GetMenuImage() const
bool SCH_GLOBALLABEL::HitTest( const wxPoint& aPosition, int aAccuracy ) const
{
EDA_RECT bbox = GetBoundingBox();
EDA_RECT bbox = GetBoundingBoxBase();
bbox.Inflate( aAccuracy );
if( !bbox.Contains( aPosition ) )
@ -1501,7 +1501,7 @@ bool SCH_GLOBALLABEL::HitTest( const wxPoint& aPosition, int aAccuracy ) const
bool SCH_GLOBALLABEL::HitTest( const EDA_RECT& aRect, bool aContained, int aAccuracy ) const
{
EDA_RECT bbox = GetBoundingBox();
EDA_RECT bbox = GetBoundingBoxBase();
if( aContained )
{