Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [b5776445ec195bbf9b56f00fe84def6ef14e2930] by Alexander Ljungberg

Revision b5776445ec195bbf9b56f00fe84def6ef14e2930, committed by Alexander Ljungberg · September 2nd, 2012 @ 12:08 PM

Significantly optimise CPToolbar validation.

Avoid sending notifications about toolbar items' enabled state needlessly.

Tiling is expensive, but even if the toolbar item ignores redundant setEnabled: calls, the cost of notifications alone can really add up when there are many toolbar items.
https://github.com/cappuccino/cappuccino/commit/b5776445ec195bbf9b5...

2 changed files

  • M AppKit/CPToolbar.j
  • M AppKit/CPToolbarItem.j