summaryrefslogtreecommitdiffstats
path: root/doc/classes/EditorSettings.xml
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2023-07-13 20:02:39 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2023-07-17 12:44:09 +0200
commita39190a18f4d1d2971d30147e47f51dea65f4304 (patch)
treeac44d3c86bc6c3ff333cd4b1998820947062c989 /doc/classes/EditorSettings.xml
parenta7583881af5477cd73110cc859fecf7ceaf39bd7 (diff)
downloadredot-engine-a39190a18f4d1d2971d30147e47f51dea65f4304.tar.gz
Allow using floating-point bone sizes and outline widths in the 2D editor
This is useful when animating pixel art sprites in the 2D editor, as a value of `1` is often too large when zoomed in.
Diffstat (limited to 'doc/classes/EditorSettings.xml')
-rw-r--r--doc/classes/EditorSettings.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/classes/EditorSettings.xml b/doc/classes/EditorSettings.xml
index c7d05eb913..0c6fa2923f 100644
--- a/doc/classes/EditorSettings.xml
+++ b/doc/classes/EditorSettings.xml
@@ -232,14 +232,16 @@
<member name="editors/2d/bone_outline_color" type="Color" setter="" getter="">
The outline color to use for non-selected bones in the 2D skeleton editor. See also [member editors/2d/bone_selected_color].
</member>
- <member name="editors/2d/bone_outline_size" type="int" setter="" getter="">
+ <member name="editors/2d/bone_outline_size" type="float" setter="" getter="">
The outline size in the 2D skeleton editor (in pixels). See also [member editors/2d/bone_width].
+ [b]Note:[/b] Changes to this value only apply after modifying a [Bone2D] node in any way, or closing and reopening the scene.
</member>
<member name="editors/2d/bone_selected_color" type="Color" setter="" getter="">
The color to use for selected bones in the 2D skeleton editor. See also [member editors/2d/bone_outline_color].
</member>
- <member name="editors/2d/bone_width" type="int" setter="" getter="">
+ <member name="editors/2d/bone_width" type="float" setter="" getter="">
The bone width in the 2D skeleton editor (in pixels). See also [member editors/2d/bone_outline_size].
+ [b]Note:[/b] Changes to this value only apply after modifying a [Bone2D] node in any way, or closing and reopening the scene.
</member>
<member name="editors/2d/grid_color" type="Color" setter="" getter="">
The grid color to use in the 2D editor.