Make Gradient
resort points on reverse
This commit is contained in:
parent
0291fcd7b6
commit
3795677f3d
1 changed files with 1 additions and 0 deletions
|
@ -153,6 +153,7 @@ void Gradient::reverse() {
|
|||
points.write[i].offset = 1.0 - points[i].offset;
|
||||
}
|
||||
|
||||
is_sorted = false;
|
||||
_update_sorting();
|
||||
emit_signal(CoreStringNames::get_singleton()->changed);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue