mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-12-16 03:44:42 -05:00
Removed brush_selected signal
This commit is contained in:
parent
0629449bdf
commit
d2539f44f0
6 changed files with 36 additions and 74 deletions
|
|
@ -1,8 +1,6 @@
|
|||
extends BaseButton
|
||||
|
||||
|
||||
signal brush_selected
|
||||
|
||||
export var brush_type = 0 # Global.Brush_Types.PIXEL
|
||||
export var custom_brush_index := -3
|
||||
var random_brushes := []
|
||||
|
|
@ -36,7 +34,7 @@ func _on_BrushButton_pressed() -> void:
|
|||
# Global.left_brush_type_label.text = tr("Brush: Filled Circle")
|
||||
|
||||
Global.update_left_custom_brush()
|
||||
emit_signal("brush_selected")
|
||||
Global.brushes_popup.hide()
|
||||
|
||||
else: # Change right brush
|
||||
Global.current_right_brush_type = brush_type
|
||||
|
|
@ -59,7 +57,7 @@ func _on_BrushButton_pressed() -> void:
|
|||
# Global.right_brush_type_label.text = tr("Brush: Filled Circle")
|
||||
|
||||
Global.update_right_custom_brush()
|
||||
emit_signal("brush_selected")
|
||||
Global.brushes_popup.hide()
|
||||
|
||||
|
||||
func _on_DeleteButton_pressed() -> void:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue