mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: documentEdited with non-default titlebarStyle (#30604)
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
@@ -1140,6 +1140,8 @@ std::string NativeWindowMac::GetRepresentedFilename() {
|
||||
|
||||
void NativeWindowMac::SetDocumentEdited(bool edited) {
|
||||
[window_ setDocumentEdited:edited];
|
||||
if (buttons_proxy_)
|
||||
[buttons_proxy_ redraw];
|
||||
}
|
||||
|
||||
bool NativeWindowMac::IsDocumentEdited() {
|
||||
|
||||
Reference in New Issue
Block a user