mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-23 14:03:13 +00:00
parent
fc55f10053
commit
423885a8e4
1 changed files with 2 additions and 8 deletions
|
@ -172,9 +172,8 @@ func update_brush() -> void:
|
||||||
_polylines = _create_polylines(_indicator)
|
_polylines = _create_polylines(_indicator)
|
||||||
$Brush/Type/Texture.texture = _brush_texture
|
$Brush/Type/Texture.texture = _brush_texture
|
||||||
$ColorInterpolation.visible = _brush.type in [Brushes.FILE, Brushes.RANDOM_FILE, Brushes.CUSTOM]
|
$ColorInterpolation.visible = _brush.type in [Brushes.FILE, Brushes.RANDOM_FILE, Brushes.CUSTOM]
|
||||||
$ExpandButton.visible = _brush.type in [Brushes.FILE, Brushes.RANDOM_FILE, Brushes.CUSTOM]
|
$Flip.visible = _brush.type in [Brushes.FILE, Brushes.RANDOM_FILE, Brushes.CUSTOM]
|
||||||
if $ExpandButton.visible == false:
|
$Rotate.visible = _brush.type in [Brushes.FILE, Brushes.RANDOM_FILE, Brushes.CUSTOM]
|
||||||
$ExpandButton.set_pressed(false)
|
|
||||||
|
|
||||||
|
|
||||||
func update_random_image() -> void:
|
func update_random_image() -> void:
|
||||||
|
@ -765,8 +764,3 @@ func _on_rotate_180_toggled(button_pressed: bool) -> void:
|
||||||
func _on_rotate_270_toggled(button_pressed: bool) -> void:
|
func _on_rotate_270_toggled(button_pressed: bool) -> void:
|
||||||
_brush_rotate_270 = button_pressed
|
_brush_rotate_270 = button_pressed
|
||||||
update_brush()
|
update_brush()
|
||||||
|
|
||||||
|
|
||||||
func _on_expand_button_toggled(button_pressed: bool) -> void:
|
|
||||||
$Flip.visible = button_pressed
|
|
||||||
$Rotate.visible = button_pressed
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue