timeline: use better system of identifying ruler focus

This commit is contained in:
itsmattkc
2022-08-27 09:26:07 -07:00
parent 4a7c0780b6
commit af6cb35cde
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -65,6 +65,11 @@ public:
void SeekToScenePoint(qreal scene);
bool HasItemsSelected() const
{
return !selection_manager_.GetSelectedObjects().empty();
}
const std::vector<TimelineMarker*> &GetSelectedMarkers() const
{
return selection_manager_.GetSelectedObjects();