1
0
Fork 0
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:
alikin12 2024-08-15 14:42:01 +02:00 committed by GitHub
parent 04a5292672
commit f6f40e03e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)