reduced effects control updates

This commit is contained in:
itsmattkc
2018-11-30 18:04:24 +11:00
parent f6406cab9c
commit 1d4600439f
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -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();
+2 -2
View File
@@ -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;