From 8b9084f72b6f2e8d96027fdfbad9cc89cce9a4d8 Mon Sep 17 00:00:00 2001 From: RodZill4 Date: Tue, 29 Oct 2019 22:10:54 +0100 Subject: [PATCH] Fixed gradient editor (Cursors not updtaed when color was modified) --- addons/material_maker/widgets/gradient_editor.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/material_maker/widgets/gradient_editor.gd b/addons/material_maker/widgets/gradient_editor.gd index fa223de9..d264d386 100644 --- a/addons/material_maker/widgets/gradient_editor.gd +++ b/addons/material_maker/widgets/gradient_editor.gd @@ -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()