mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
fix: set supported scale factors on startup (#38836)
This commit is contained in:
@@ -203,13 +203,6 @@ void Browser::DidFinishLaunching(base::Value::Dict launch_info) {
|
||||
}
|
||||
for (BrowserObserver& observer : observers_)
|
||||
observer.OnFinishLaunching(launch_info.Clone());
|
||||
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
if (dock_icon_) {
|
||||
DockSetIconImage(*dock_icon_);
|
||||
dock_icon_.reset();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
v8::Local<v8::Value> Browser::WhenReady(v8::Isolate* isolate) {
|
||||
|
||||
Reference in New Issue
Block a user