Skip to content

Commit

Permalink
btns flip/rotate hide when a non-image brush is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
RorotoSic committed Mar 7, 2024
1 parent 0193a92 commit 7519fd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Tools/BaseDraw.gd
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +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]
$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:
Expand Down

0 comments on commit 7519fd6

Please sign in to comment.