Skip to content

Commit

Permalink
fix: screenshot crashed
Browse files Browse the repository at this point in the history
  • Loading branch information
KochiyaOcean committed Oct 16, 2023
1 parent 6d10a69 commit 552d5c1
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 @@ -101,7 +101,7 @@ export class PoiControl extends Component {

handleCapturePageOverWebContent = async (toClipboard) => {
const { width, height } = getStore('layout.webview')
const webContentId = getStore('layout.webview.ref.view').getWebContentsId()
const webContentId = getStore('layout.webview.ref').getWebContentsId()
const actualSize = { width: Math.round(width), height: Math.round(height) }
const rect = {
x: 0,
Expand Down

0 comments on commit 552d5c1

Please sign in to comment.