mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: setRepresentedFilename with non-default titlebarStyle (#34849)
fix: setRepresentedFilename with non-default titlebarStyle Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
@@ -1154,6 +1154,8 @@ double NativeWindowMac::GetOpacity() {
|
||||
|
||||
void NativeWindowMac::SetRepresentedFilename(const std::string& filename) {
|
||||
[window_ setRepresentedFilename:base::SysUTF8ToNSString(filename)];
|
||||
if (buttons_proxy_)
|
||||
[buttons_proxy_ redraw];
|
||||
}
|
||||
|
||||
std::string NativeWindowMac::GetRepresentedFilename() {
|
||||
|
||||
Reference in New Issue
Block a user