mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-26 04:14:42 -04:00
Brush Selection Fix
This commit is contained in:
parent
a552cbe8ee
commit
73891af597
4 changed files with 9 additions and 0 deletions
|
@ -785,6 +785,7 @@ func create_brush_button(brush_img : Image, brush_type := Brush_Types.CUSTOM, hi
|
|||
brush_tex.create_from_image(brush_img, 0)
|
||||
brush_button.get_child(0).texture = brush_tex
|
||||
brush_button.hint_tooltip = hint_tooltip
|
||||
brush_button.connect("brush_selected",control,"_on_Brush_Selected")
|
||||
if brush_type == Brush_Types.RANDOM_FILE:
|
||||
brush_button.random_brushes.append(brush_img)
|
||||
brush_container.add_child(brush_button)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue