tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 583HTML 275Markdown 8TOML 41586 Definitions

Update README.md

47d456cde7d15ad2aacab553654a29d7db4f97b9 · by Emil Sjölander · (7 years ago) · parent 7f040bc2f · browse the tree at this commit

Semantic delta

No definition changed: this change is text, documentation or data.

1 files · +1 −1

diff --git a/README.md b/README.md
index 5ce0f7d3e..e255caec3 100644
--- a/README.md
+++ b/README.md
@@ -87,7 +87,7 @@ val node = Node(
   ))
 
 val layout = node.computeLayout(Size(null, null))
-Log.d(TAG, "width: ${width}, height: ${height}")
+Log.d(TAG, "width: ${layout.width}, height: ${layout.height}")
 ```
 
 ### iOS