Remove m_resizable from Clips (#7954)

Minor refactor of `Clip` methods related to resizing
This commit is contained in:
regulus79
2025-07-21 09:39:14 -04:00
committed by GitHub
parent 997764a0dc
commit e79945ffc5
8 changed files with 28 additions and 94 deletions

View File

@@ -94,21 +94,12 @@ public:
return m_length;
}
/*! \brief Specify whether or not a TCO automatically resizes.
*
* If a TCO does automatically resize, it cannot be manually
* resized by clicking and dragging its edge.
*
*/
inline void setResizable( const bool r )
{
m_resizable = r;
}
inline const bool getResizable() const
{
return m_resizable;
}
bool hasTrackContainer() const;
bool isInPattern() const;
bool manuallyResizable() const;
/*! \brief Set whether a clip has been resized yet by the user or the knife tool.
*
@@ -183,7 +174,6 @@ private:
BoolModel m_mutedModel;
BoolModel m_soloModel;
bool m_resizable = true;
bool m_autoResize = true;
bool m_selectViewOnCreate;