fix: documentEdited with non-default titlebarStyle (#30604)

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot]
2021-08-18 14:13:41 -07:00
committed by GitHub
parent 766a58e465
commit b444944a6d

View File

@@ -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() {