From 1d4600439f63ab81e13934dfb75996bcf4778083 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Fri, 30 Nov 2018 18:04:24 +1100 Subject: [PATCH] reduced effects control updates --- panels/panels.cpp | 1 + ui/timelinewidget.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/panels/panels.cpp b/panels/panels.cpp index 8b458fcd1..b7c221faf 100644 --- a/panels/panels.cpp +++ b/panels/panels.cpp @@ -84,6 +84,7 @@ void update_effect_controls() { void update_ui(bool modified) { if (modified) { // panel_sequence_viewer->reset_all_audio(); + dout << "h"; update_effect_controls(); } panel_effect_controls->update_keyframes(); diff --git a/ui/timelinewidget.cpp b/ui/timelinewidget.cpp index 50e9a0cd0..61c178781 100644 --- a/ui/timelinewidget.cpp +++ b/ui/timelinewidget.cpp @@ -1807,7 +1807,7 @@ void TimelineWidget::mouseMoveEvent(QMouseEvent *event) { panel_timeline->moving_proc = true; } - update_ui(true); + update_ui(false); } else if (panel_timeline->splitting) { int track_start = qMin(panel_timeline->cursor_track, panel_timeline->drag_track_start); int track_end = qMax(panel_timeline->cursor_track, panel_timeline->drag_track_start); @@ -1831,7 +1831,7 @@ void TimelineWidget::mouseMoveEvent(QMouseEvent *event) { } } } - update_ui(true); + update_ui(false); } else if (panel_timeline->rect_select_init) { if (panel_timeline->rect_select_proc) { panel_timeline->rect_select_w = event->pos().x() - panel_timeline->rect_select_x;