mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: set supported scale factors on startup (#38861)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
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