Make `Gradient` resort points on `reverse`
This commit is contained in:
parent
0291fcd7b6
commit
3795677f3d
|
@ -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 New Issue