Skip to content

Commit 4d1f3a0

Browse files
committed
Document that transitions ease solid fills too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NNTVgYqUeBTGwAHuspt3D7
1 parent e98225a commit 4d1f3a0

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
### Motion
2424

25-
- `BaseNode.transitionMs`: opacity and scale changes ease in.
25+
- `BaseNode.transitionMs`: opacity, draw scale and solid fill changes ease in.
2626
- `BaseNode.drawScale` (bindable as `drawScale`): draw a node larger or
2727
smaller around its center without changing layout.
2828
- `BaseNode.pulse` (`PulseModel`): a looping opacity and scale animation.

‎lib/src/api/nodes/base_node.dart‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,9 @@ abstract class BaseNode
388388
@JsonKey(defaultValue: false)
389389
bool zoomable = false;
390390

391-
/// Milliseconds a change to this node's opacity or scale takes to ease in
392-
/// (a pin that grows when selected, a list that dims); 0 changes at once.
391+
/// Milliseconds a change to this node's opacity, draw scale or solid fill
392+
/// takes to ease in (a pin that grows when selected, a row that lights up
393+
/// on hover); 0 changes at once.
393394
@JsonKey(defaultValue: 0)
394395
int transitionMs = 0;
395396

0 commit comments

Comments
 (0)