mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
Fixed gradient editor (Cursors not updtaed when color was modified)
This commit is contained in:
parent
4c2274104b
commit
8b9084f72b
@ -39,6 +39,7 @@ class GradientCursor:
|
|||||||
func set_color(c) -> void:
|
func set_color(c) -> void:
|
||||||
color = c
|
color = c
|
||||||
get_parent().update_value()
|
get_parent().update_value()
|
||||||
|
update()
|
||||||
|
|
||||||
static func sort(a, b) -> bool:
|
static func sort(a, b) -> bool:
|
||||||
return a.get_position() < b.get_position()
|
return a.get_position() < b.get_position()
|
||||||
|
Loading…
Reference in New Issue
Block a user