1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-23 05:53:14 +00:00

Revert "expand button for flip/rotate"

This reverts commit 51189ac793.
This commit is contained in:
RorotoSic 2024-03-15 13:05:43 +01:00
parent fc55f10053
commit 423885a8e4

View file

@ -172,9 +172,8 @@ func update_brush() -> void:
_polylines = _create_polylines(_indicator)
$Brush/Type/Texture.texture = _brush_texture
$ColorInterpolation.visible = _brush.type in [Brushes.FILE, Brushes.RANDOM_FILE, Brushes.CUSTOM]
$ExpandButton.visible = _brush.type in [Brushes.FILE, Brushes.RANDOM_FILE, Brushes.CUSTOM]
if $ExpandButton.visible == false:
$ExpandButton.set_pressed(false)
$Flip.visible = _brush.type in [Brushes.FILE, Brushes.RANDOM_FILE, Brushes.CUSTOM]
$Rotate.visible = _brush.type in [Brushes.FILE, Brushes.RANDOM_FILE, Brushes.CUSTOM]
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:
_brush_rotate_270 = button_pressed
update_brush()
func _on_expand_button_toggled(button_pressed: bool) -> void:
$Flip.visible = button_pressed
$Rotate.visible = button_pressed