Merge pull request #75235 from AThousandShips/gradient_sort
Make `Gradient` resort points on `reverse`
This commit is contained in:
commit
2be7a9be59
|
@ -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