Mercurial > hg > svgui
comparison layer/TimeRulerLayer.cpp @ 991:2adca8f05583 3.0-integration
Merge from branch simple-fft-model
author | Chris Cannam |
---|---|
date | Wed, 01 Jul 2015 18:31:28 +0100 |
parents | a5488775f880 3871dffc31bd |
children | 33d7e1a6747b |
comparison
equal
deleted
inserted
replaced
988:4f4f0e158ecf | 991:2adca8f05583 |
---|---|
86 frame = right; | 86 frame = right; |
87 break; | 87 break; |
88 | 88 |
89 case SnapNearest: | 89 case SnapNearest: |
90 { | 90 { |
91 if (labs(frame - left) > labs(right - frame)) { | 91 if (llabs(frame - left) > llabs(right - frame)) { |
92 frame = right; | 92 frame = right; |
93 } else { | 93 } else { |
94 frame = left; | 94 frame = left; |
95 } | 95 } |
96 break; | 96 break; |