mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: documentEdited with non-default titlebarStyle (#30565)
This commit is contained in:
@@ -1117,6 +1117,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