Skip to content

Commit

Permalink
Fix typo in CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
player-03 authored and joshtynjala committed Jul 24, 2024
1 parent 6c3aae0 commit 199e200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ private function myComponent_stage_mouseUpHandler(event:MouseEvent):Void {}

Feathers UI uses the [Actuate](https://lib.haxe.org/p/actuate) library for programmatic animation. There are a few best practices to remember when using Acutate in the Feathers UI codebase.

If a UI component has animation, the duration and easing function should be exposed as a properties with `@:style` metadata.
If a UI component has animation, the duration and easing function should be exposed as properties with `@:style` metadata.

The duration property must be of type `Float`, and it must be measured in seconds. The default duration value should generally be quick — under half a second.

Expand All @@ -255,4 +255,4 @@ Instead, always use `Actuate.update()`. The following example demonstrates how t
Actuate.update((alpha:Float) -> {
target.alpha = alpha;
}, duration, [target.alpha], [0.0]);
```
```

0 comments on commit 199e200

Please sign in to comment.