mirror of
https://github.com/rough-stuff/rough.git
synced 2026-02-14 15:35:10 -05:00
Update README.md
This commit is contained in:
@@ -98,8 +98,8 @@ path.hachureAngle = 90;
|
||||
``` javascript
|
||||
var rect = rough.rectangle(10,10,20,100);
|
||||
var increaseWidth = function() {
|
||||
if (rect.width < 300) {
|
||||
rect.width = rect.width + 10;
|
||||
if (rect.width < 300) {
|
||||
rect.width = rect.width + 10;
|
||||
setTimeout(increaseWidth, 100);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user