Skip to content

Commit

Permalink
Zoom into features some more when triggering the show feature action …
Browse files Browse the repository at this point in the history
…from the search bar
  • Loading branch information
nirvn committed Nov 14, 2023
1 parent d36352e commit 492fe28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/locator/activelayerfeatureslocatorfilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ void ActiveLayerFeaturesLocatorFilter::triggerResultFromAction( const QgsLocator
}
else if ( !r.isEmpty() )
{
r.scale( 5 );
r.scale( 1.25 );
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/locator/featureslocatorfilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void FeaturesLocatorFilter::triggerResultFromAction( const QgsLocatorResult &res
}
else if ( !r.isEmpty() )
{
r.scale( 5 );
r.scale( 1.25 );
}
}

Expand Down

0 comments on commit 492fe28

Please sign in to comment.