Skip to content

Commit

Permalink
More delay to adjust function after opening devtools.
Browse files Browse the repository at this point in the history
  • Loading branch information
Javran committed Sep 9, 2022
1 parent 42772ad commit 519ffd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/components/info/control.es
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export class PoiControl extends Component {
remote.getCurrentWindow().openDevTools({ mode: 'detach' })
setTimeout(() => {
getStore('layout.webview.ref').executeJavaScript('window.align()')
}, 100)
}, 500)
}

handleOpenWebviewDevTools = () => {
Expand Down

0 comments on commit 519ffd0

Please sign in to comment.