projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
592a21d
)
fix major/minor ticks on min:sec ruler
author
Devin J. Pohly
<djpohly@gmail.com>
Wed, 14 May 2014 12:36:03 +0000
(08:36 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 14 May 2014 13:08:14 +0000
(09:08 -0400)
All ticks from 0:00.000 to 0:00.999... were major, and everything after
was minor, instead of the correct distribution.
gtk2_ardour/editor_rulers.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_rulers.cc
b/gtk2_ardour/editor_rulers.cc
index 0a5ebf74102f45d1ff5d778e2ba80bebeb81a7f1..afa58575ea8477905c2b941e6b95f44112686095 100644
(file)
--- a/
gtk2_ardour/editor_rulers.cc
+++ b/
gtk2_ardour/editor_rulers.cc
@@
-2045,7
+2045,7
@@
Editor::metric_get_minsec (GtkCustomRulerMark **marks, gdouble lower, gdouble /*
for (n = 0; n < minsec_nmarks; pos += minsec_mark_interval, ++n) {
sample_to_clock_parts (pos, _session->frame_rate(), &hrs, &mins, &secs, &millisecs);
if (millisecs % minsec_mark_modulo == 0) {
- if (secs == 0) {
+ if (
milli
secs == 0) {
(*marks)[n].style = GtkCustomRulerMarkMajor;
} else {
(*marks)[n].style = GtkCustomRulerMarkMinor;