eveningkid/reacto

Reflect editor status in macOS Close button

Closed this issue · 3 comments

In fully-native apps (TextEdit, BBEdit, Pages, etc), the red Close stoplight button on macOS gets a black dot inside if the current file has been modified without saving. No idea how/if you can do this in Electron, but it'd be a nice touch. (Certainly not a priority)

It's actually currently implemented.

screenshot at mar 25 16-32-58

I will work on it, I think your impression comes from the fact it is currently not detecting "unsaved changes" until you take your cursor off the editor. This will be fixed, thanks. :)

Added with #34

@eveningkid I discovered this after I submitted this, thanks for updating!