Chromium Code Reviews| Index: sky/framework/sky-icon.sky |
| diff --git a/sky/framework/sky-icon.sky b/sky/framework/sky-icon.sky |
| index e526c8ca1df66b85318d3ecec94b1ee488b5988a..dd2a10f7f656e64ea1ef3dc92ee892250c3662ad 100644 |
| --- a/sky/framework/sky-icon.sky |
| +++ b/sky/framework/sky-icon.sky |
| @@ -45,8 +45,10 @@ class SkyIcon extends SkyElement { |
| } |
| void sizeChanged(double oldValue, double newValue) { |
| - if (_img != null) |
| + if (_img != null) { |
| _setSize(newValue.floor()); |
| + _setSrc(type, newValue.floor()); |
| + } |
| } |
| } |