mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix Orama-Interactive#958 (reset custom brush when switch another tool) (#1078)
This commit is contained in:
parent
04a5292672
commit
f6f40e03e5
|
@ -96,6 +96,7 @@ static func clear_project_brush() -> void:
|
|||
"Background/Brushes/Categories/ProjectBrushContainer"
|
||||
)
|
||||
for child in container.get_children():
|
||||
container.remove_child(child)
|
||||
child.queue_free()
|
||||
Global.brushes_popup.brush_removed.emit(child.brush)
|
||||
|
||||
|
|
Loading…
Reference in a new issue