cappuccino/cappuccino — pull request #2018 by zittix (2013-11-18 14:31:26+00:00)
Title: Changing a CALayer in a menu callback doesn't trigger re-draw

If in a menu action we change some properties of a CALayer such as:

```

var af = CGAffineTransformMakeScale(scale/100.0,scale/100.0);
[myLayer setAffineTransform:af];

```

The update is not applied to the layer until the mouse is moved (tested on Safari 7.0 and Chrome 31.0).

The provided fix force the update of the CALayer tree at the end of the menu callback.