Skip to content

Commit

Permalink
Frame view fix
Browse files Browse the repository at this point in the history
  • Loading branch information
darbyjohnston committed Apr 25, 2024
1 parent 82e6238 commit 509eedb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/tlTimelineUI/TimelineWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,12 @@ namespace tl
p.sizeInit = false;
frameView();
}
else if (p.timelineItem &&
p.timelineItem->getSizeHint().w <
p.scrollWidget->getViewport().w())
{
setFrameView(true);
}
}

void TimelineWidget::tickEvent(
Expand Down

0 comments on commit 509eedb

Please sign in to comment.