Choose Edit > Move > To Beat from the menu bar.
Control-click the region, then choose Move > Move to Beat from the shortcut menu.
If a region is the sole region in a part of a project, trimming, moving, or deleting the region affects the project tempo if the Project Tempo mode is set to Adapt (or Auto with Adapt behavior).
Trimming the region also trims the corresponding project tempo events.
Moving the region also moves the corresponding project tempo events.
Deleting the region also deletes the corresponding project tempo events.
Download the guides:
Logic Pro User Guide: PDF
Logic Pro Effects: PDF