fixed min/max on slider and layer order issues

This commit is contained in:
itsmattkc
2018-06-30 21:18:47 +01:00
parent ae86a36902
commit 791cc6618b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.6.2, 2018-06-30T01:51:31. -->
<!-- Written by QtCreator 4.6.2, 2018-06-30T19:57:23. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
+1 -1
View File
@@ -24,7 +24,7 @@ void LabelSlider::set_value(float v) {
} else {
internal_value = v;
}
setText(QString::number(v));
setText(QString::number(internal_value));
emit valueChanged();
}
}
+1 -1
View File
@@ -79,7 +79,7 @@ void ViewerWidget::paintGL()
bool added = false;
for (int j=0;j<current_clips.size();j++) {
if (current_clips.at(j)->track > c->track) {
if (current_clips.at(j)->track < c->track) {
current_clips.insert(j, c);
added = true;
break;