From 23ee40deffa3453769c57b621fa85d6fd8dc6499 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 1 May 2020 18:43:55 +0200 Subject: [PATCH] Tweak Tween cheatsheet link formatting to avoid rST conversion bug reStructuredText doesn't allow embedding links in bold/italic text. (cherry picked from commit e8a2fa6b7d22a25c4165079395c802bb8cb6c270) --- doc/classes/Tween.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Tween.xml b/doc/classes/Tween.xml index 42dd86d66ff..7be64f56c97 100644 --- a/doc/classes/Tween.xml +++ b/doc/classes/Tween.xml @@ -16,7 +16,7 @@ [/codeblock] Many methods require a property name, such as [code]"position"[/code] above. You can find the correct property name by hovering over the property in the Inspector. You can also provide the components of a property directly by using [code]"property:component"[/code] (eg. [code]position:x[/code]), where it would only apply to that particular component. Many of the methods accept [code]trans_type[/code] and [code]ease_type[/code]. The first accepts an [enum TransitionType] constant, and refers to the way the timing of the animation is handled (see [url=https://easings.net/]easings.net[/url] for some examples). The second accepts an [enum EaseType] constant, and controls the where [code]trans_type[/code] is applied to the interpolation (in the beginning, the end, or both). If you don't know which transition and easing to pick, you can try different [enum TransitionType] constants with [constant EASE_IN_OUT], and use the one that looks best. - [b][url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/tween_cheatsheet.png]Tween easing and transition types cheatsheet[/url][/b] + [url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/tween_cheatsheet.png]Tween easing and transition types cheatsheet[/url]