[Summary] Bug fix #46483 "Mouse cursor continuously changing trackheader height by dragging trackheader boundary"

[Feature review] AMishyn
[Reviewed] VKamyshniy
This commit is contained in:
Nikolay 2015-04-16 17:39:53 +03:00
parent ca1b47477f
commit cb4da7f094

View file

@ -356,13 +356,8 @@ bool
TimeAxisView::controls_ebox_motion (GdkEventMotion* ev)
{
if (_resize_drag_start >= 0) {
/* (ab)use the DragManager to do autoscrolling - basically we
* are pretending that the drag is taking place over the canvas
* (which perhaps in the glorious future, when track headers
* and the canvas are unified, will actually be true.)
*/
_editor.maybe_autoscroll (false, true, true);
/* do not start autoscroll if trackheader resize drag start */
/* now schedule the actual TAV resize */
int32_t const delta = (int32_t) floor (ev->y_root - _resize_drag_start);