Added pattern offset - Closes #130

This commit is contained in:
OverloadedOrama 2020-04-25 02:09:34 +03:00
parent 768a1e7b8f
commit 7bac0ff8f4
7 changed files with 168 additions and 38 deletions

View file

@ -657,6 +657,22 @@ func _on_LeftPatternTypeButton_pressed() -> void:
Global.patterns_popup.popup(Rect2(Global.left_brush_type_button.rect_global_position, Vector2(226, 72)))
func _on_LeftPatternOffsetX_value_changed(value : float) -> void:
Global.left_fill_pattern_offset.x = value
func _on_LeftPatternOffsetY_value_changed(value : float) -> void:
Global.left_fill_pattern_offset.y = value
func _on_RightPatternOffsetX_value_changed(value : float) -> void:
Global.right_fill_pattern_offset.x = value
func _on_RightPatternOffsetY_value_changed(value : float) -> void:
Global.right_fill_pattern_offset.y = value
func _on_RightFillAreaOptions_item_selected(ID : int) -> void:
Global.right_fill_area = ID