fixed min/max on slider and layer order issues
This commit is contained in:
+1
-1
@@ -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
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user