mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
The AttachedSheet2 demo was calling runModalForWindow:, which caused the sheet to appear briefly as an application modal. That call was removed, beginSheet: does everything. Also: - Wrapped _attachSheetWindow method into _attachSheet:modalDelegate: method. - Just to be safe, in CPWindow -_sheetShouldAnimateIn:, the sheet is moved offscreen before being ordered front.