Fixed gradient editor (Cursors not updtaed when color was modified)

This commit is contained in:
RodZill4 2019-10-29 22:10:54 +01:00
parent 4c2274104b
commit 8b9084f72b
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ class GradientCursor:
func set_color(c) -> void:
color = c
get_parent().update_value()
update()
static func sort(a, b) -> bool:
return a.get_position() < b.get_position()