Changed brush color interpolation and LightenDarken amount's range from 0-100, instead of 0-1

This commit is contained in:
OverloadedOrama 2019-12-17 04:01:38 +02:00
parent 58f47d0eee
commit c9071f30eb
5 changed files with 85 additions and 81 deletions

View file

@ -1012,12 +1012,12 @@ func _on_RightFillAreaOptions_item_selected(ID : int) -> void:
func _on_LeftLightenDarken_item_selected(ID : int) -> void:
Global.left_ld = ID
func _on_LeftLDAmountSpinbox_value_changed(value : float) -> void:
Global.left_ld_amount = value
Global.left_ld_amount = value / 100
func _on_RightLightenDarken_item_selected(ID : int) -> void:
Global.right_ld = ID
func _on_RightLDAmountSpinbox_value_changed(value : float) -> void:
Global.right_ld_amount = value
Global.right_ld_amount = value / 100
func _on_LeftHorizontalMirroring_toggled(button_pressed) -> void:
Global.left_horizontal_mirror = button_pressed