projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rework audio import_samples + resample + playback speed sampling, fix clear_boarder...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
edit.C
diff --git
a/cinelerra-5.1/cinelerra/edit.C
b/cinelerra-5.1/cinelerra/edit.C
index e9e9f1b467e1e337ebd6f8b8535c10d17558f636..f716bb42727f7e1c463b622ddb768a74fc50cb6a 100644
(file)
--- a/
cinelerra-5.1/cinelerra/edit.C
+++ b/
cinelerra-5.1/cinelerra/edit.C
@@
-653,7
+653,7
@@
int Edit::select_handle(float view_start, float zoom_units, int cursor_x, int cu
int64_t pixel1, pixel2;
pixel1 = left;
int64_t pixel1, pixel2;
pixel1 = left;
- pixel2 = pixel1 +
10
;
+ pixel2 = pixel1 +
xS(10)
;
// test left edit
// cursor_x is faked in acanvas
// test left edit
// cursor_x is faked in acanvas
@@
-665,7
+665,7
@@
int Edit::select_handle(float view_start, float zoom_units, int cursor_x, int cu
//int64_t endproject = startproject + length;
pixel2 = right;
//int64_t endproject = startproject + length;
pixel2 = right;
- pixel1 = pixel2 -
10
;
+ pixel1 = pixel2 -
xS(10)
;
// test right edit
if(cursor_x >= pixel1 && cursor_x <= pixel2)
// test right edit
if(cursor_x >= pixel1 && cursor_x <= pixel2)