1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 01:29:49 +00:00

Use Control + Wheel to change shape thickness

This commit is contained in:
Emmanouil Papadeas 2022-11-30 00:29:44 +02:00
parent 0db574c769
commit 60e58952a5
3 changed files with 3 additions and 2 deletions

View file

@ -15,6 +15,7 @@ min_value = 1.0
value = 1.0
prefix = "Size:"
suffix = "px"
is_global = true
[node name="Brush" parent="." index="3"]
visible = false

View file

@ -15,6 +15,7 @@ min_value = 1.0
value = 1.0
prefix = "Size:"
suffix = "px"
is_global = true
[node name="FillCheckbox" type="CheckBox" parent="." index="3"]
margin_top = 54.0

View file

@ -50,8 +50,7 @@ func _input(event: InputEvent) -> void:
if not editable:
return
# Hardcode Control + Wheel as a global shortcut, if is_global is true
# In Godot 4.x this will change into two is_action() checks for incrementing
# and decrementing
# In Godot 4.x this will change into two is_action() checks for incrementing and decrementing
if not event is InputEventMouseButton:
return
if not event.pressed: