diff --git a/src/Tools/LineTool.tscn b/src/Tools/LineTool.tscn index 80bc01ba4..c62b68710 100644 --- a/src/Tools/LineTool.tscn +++ b/src/Tools/LineTool.tscn @@ -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 diff --git a/src/Tools/ShapeDrawer.tscn b/src/Tools/ShapeDrawer.tscn index e034cb568..f75a7e35e 100644 --- a/src/Tools/ShapeDrawer.tscn +++ b/src/Tools/ShapeDrawer.tscn @@ -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 diff --git a/src/UI/Nodes/ValueSlider.gd b/src/UI/Nodes/ValueSlider.gd index 104921407..93d07b0d8 100644 --- a/src/UI/Nodes/ValueSlider.gd +++ b/src/UI/Nodes/ValueSlider.gd @@ -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: