Restore previous tool after color picking

This commit is contained in:
MathemanFlo
2022-03-15 22:17:23 +01:00
parent 3c0bae578b
commit 67a4c21c4c
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -683,6 +683,7 @@ class UINodes {
}
if (nodes.colorPickerCallback != null) {
Context.colorPickerPreviousTool = Context.tool;
Context.selectTool(ToolPicker);
var tmp = nodes.colorPickerCallback;
Context.colorPickerCallback = function(color: TSwatchColor) {