small readme fix

This commit is contained in:
Evgeny
2022-08-27 11:49:41 +03:00
parent e7a2acfe00
commit a03b68adc0

View File

@@ -414,7 +414,6 @@ There are two modules to solve this problem: `morph` and `anim`. The first is us
* `morph:change_outer_color(idx, color)` - changes "external" color (for example, button color) of element with index `idx`, `color` - color in format #XXXXXX; * `morph:change_outer_color(idx, color)` - changes "external" color (for example, button color) of element with index `idx`, `color` - color in format #XXXXXX;
* `morph:run_with_delay(delay, function) - populates specified Lua function with delay `delay`; * `morph:run_with_delay(delay, function) - populates specified Lua function with delay `delay`;
* `morph:cancel(idx)` - cancels a previously run change if it is not yet complete (e.g., delay or animation is not over). * `morph:cancel(idx)` - cancels a previously run change if it is not yet complete (e.g., delay or animation is not over).
* `anim:blink(idx)` - blinks UI element with index `idx`; * `anim:blink(idx)` - blinks UI element with index `idx`;
* `anim:move(x, y, [delay])` - moves element sideways by specified number of DP and returns back after delay; * `anim:move(x, y, [delay])` - moves element sideways by specified number of DP and returns back after delay;
* `anim:heartbeat(idx)` - animation of heartbeat; * `anim:heartbeat(idx)` - animation of heartbeat;