diff --git a/src/TimingData.h b/src/TimingData.h index a43021acf8..6f43a3b818 100644 --- a/src/TimingData.h +++ b/src/TimingData.h @@ -929,6 +929,12 @@ public: * @return true if the row is inside a warp, false otherwise. */ bool IsWarpAtRow( int iRow ) const; + /** + * @brief Checks if the beat is inside a warp. + * @param fBeat the beat to focus on. + * @return true if the row is inside a warp, false otherwise. + */ + bool IsWarpAtBeat( float fBeat ) const { return IsWarpAtRow( BeatToNoteRow( fBeat ) ); } /** * @brief Add the WarpSegment to the TimingData. * @param seg the new WarpSegment.