diff options
Diffstat (limited to 'src/wx/timeline.cc')
| -rw-r--r-- | src/wx/timeline.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc index 480f6d690..8d76e4cae 100644 --- a/src/wx/timeline.cc +++ b/src/wx/timeline.cc @@ -751,3 +751,9 @@ Timeline::tracks_y_offset () const { return _reels_view->bbox().height + 4; } + +int +Timeline::width () const +{ + return _main_canvas->GetVirtualSize().GetWidth(); +} |
