Add ZoomController to manager zoom changes for webcontents
This commit is contained in:
parent
07794a58aa
commit
63c0e4cbb1
10 changed files with 269 additions and 53 deletions
|
@ -231,7 +231,6 @@ class WebViewImpl {
|
|||
const params = {
|
||||
instanceId: this.viewInstanceId,
|
||||
userAgentOverride: this.userAgentOverride,
|
||||
zoomFactor: webFrame.getZoomFactor()
|
||||
}
|
||||
for (const attributeName in this.attributes) {
|
||||
if (hasProp.call(this.attributes, attributeName)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue