瀏覽代碼

Change the first lowercase tween to a capitalised Tween to match previous code. (#3275)

The capitalised Tween is a class name and the lowercase tween is a variable name.
While this works, the initial presentation of the call uses the classname for both interpolation options.
This is being picky but is accurate.

Co-authored-by: sambler <[email protected]>
Shane Ambler 5 年之前
父節點
當前提交
6cac76adb4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      getting_started/step_by_step/ui_code_a_life_bar.rst

+ 1 - 1
getting_started/step_by_step/ui_code_a_life_bar.rst

@@ -440,7 +440,7 @@ duration in seconds.
 
 ::
 
-    ...  0.6, tween.TRANS_LINEAR, Tween.EASE_IN)
+    ...  0.6, Tween.TRANS_LINEAR, Tween.EASE_IN)
 
 The last two arguments are constants from the ``Tween`` class.
 ``TRANS_LINEAR`` means the animation should be linear. ``EASE_IN``