mirror of
https://github.com/electron/electron.git
synced 2026-02-04 04:05:36 -05:00
views: Use chromium's custom frame view.
This commit is contained in:
@@ -91,7 +91,7 @@ base::TimeDelta ViewsDelegate::GetDefaultTextfieldObscuredRevealDuration() {
|
||||
}
|
||||
|
||||
bool ViewsDelegate::WindowManagerProvidesTitleBar(bool maximized) {
|
||||
return true;
|
||||
return maximized;
|
||||
}
|
||||
|
||||
} // namespace brightray
|
||||
|
||||
Reference in New Issue
Block a user