projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix crash when trying to make a KDM on an unencrypted project.
[dcpomatic.git]
/
src
/
wx
/
timeline_time_axis_view.cc
diff --git
a/src/wx/timeline_time_axis_view.cc
b/src/wx/timeline_time_axis_view.cc
index 48157c9c53d3cd5f9d4949a93a1f3fc08191d51b..a31ed5cedd3f7265736ccf5bf5ba5c65a0253c83 100644
(file)
--- a/
src/wx/timeline_time_axis_view.cc
+++ b/
src/wx/timeline_time_axis_view.cc
@@
-61,7
+61,7
@@
TimelineTimeAxisView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int>
double const mark_interval = calculate_mark_interval (rint (128 / pps));
- int y = _y * _timeline.
track_height
() + 32;
+ int y = _y * _timeline.
pixels_per_track
() + 32;
wxGraphicsPath path = gc->CreatePath ();
path.MoveToPoint (0, y);