Enchanced Layer Opacity UI- Added Spinbox next to Slider

This commit is contained in:
OverloadedOrama 2019-12-25 00:23:45 +02:00
parent ed2e757c11
commit ba4ee3418d
4 changed files with 38 additions and 4 deletions

View file

@ -1130,6 +1130,8 @@ func _on_RightVerticalMirroring_toggled(button_pressed) -> void:
func _on_OpacitySlider_value_changed(value) -> void:
Global.canvas.layers[Global.canvas.current_layer_index][4] = value / 100
Global.layer_opacity_slider.value = value
Global.layer_opacity_spinbox.value = value
func _on_QuitDialog_confirmed() -> void:
# Darken the UI to denote that the application is currently exiting