Respect material live setting in node color picker

This commit is contained in:
MathemanFlo
2022-03-12 15:43:53 +01:00
parent f59c5af41a
commit 68eac101a5
+2 -1
View File
@@ -688,7 +688,8 @@ class UINodes {
Context.colorPickerCallback = function(color : TSwatchColor) {
tmp(color.base);
UINodes.inst.hwnd.redraws = 2;
UINodes.inst.canvasChanged();
if (Config.raw.material_live)
UINodes.inst.canvasChanged();
};
nodes.colorPickerCallback = null;
}