Browse Source

Update cancel_timer.gui_script

Björn Ritzl 2 năm trước cách đây
mục cha
commit
4cec426de0
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      examples/timer/cancel_timer/cancel_timer.gui_script

+ 2 - 2
examples/timer/cancel_timer/cancel_timer.gui_script

@@ -19,7 +19,7 @@ function on_input(self, action_id, action)
 end
 
 --[[
-1. We will use interval of 1 [s].
+1. We will use interval of 1 (s).
 2. We will be repeating the timer endlessly.
 3. Start the timer with interval (1s) and repeating (true) and pass a callback function.
 	Store the handle to the timer in self.timer.
@@ -30,4 +30,4 @@ end
 8. Cancel the timer using the saved self.timer handle.
 9. Get the text node.
 10. Update text node with an information that the timer was cancelled.
---]]
+--]]