summaryrefslogtreecommitdiff
path: root/src/wx/timeline.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-03 23:39:36 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-03 23:39:36 +0100
commitc257dde2b276dd4cb416faf63fd50c0ff1ace953 (patch)
treef11e3353f45bcd800b9f3e24d91ec8d3114c11b2 /src/wx/timeline.h
parent5a9373e48aa575c70bd32b4b48eb6b9b8634a4fc (diff)
Fix time axis view length.
Diffstat (limited to 'src/wx/timeline.h')
-rw-r--r--src/wx/timeline.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wx/timeline.h b/src/wx/timeline.h
index 503025f3c..1ec633085 100644
--- a/src/wx/timeline.h
+++ b/src/wx/timeline.h
@@ -44,9 +44,7 @@ public:
void force_redraw (dcpomatic::Rect<int> const &);
- int width () const {
- return GetVirtualSize().GetWidth ();
- }
+ int width () const;
int track_height () const {
return _track_height;