Update extension.js

This commit is contained in:
ErikrafT 2025-05-04 10:53:45 -03:00 committed by GitHub
parent 2e0161198e
commit 1536f51aeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -28,11 +28,12 @@ class ErikrafTDropViewProvider {
getWebviewContent(webview) { getWebviewContent(webview) {
const darkIconPath = webview.asWebviewUri(vscode.Uri.file( const darkIconPath = webview.asWebviewUri(vscode.Uri.file(
path.join(this.extensionPath, 'images', 'ui-icon-dark.svg') path.join(this.extensionPath, 'images', 'icon2.svg')
)); ));
const lightIconPath = webview.asWebviewUri(vscode.Uri.file( const lightIconPath = webview.asWebviewUri(vscode.Uri.file(
path.join(this.extensionPath, 'images', 'ui-icon-light.svg') path.join(this.extensionPath, 'images', 'icon2.svg')
)); ));
const iconPath = path.join(this.extensionPath, 'images', 'icon2.svg');
return ` return `
<!DOCTYPE html> <!DOCTYPE html>
@ -89,6 +90,9 @@ class ErikrafTDropViewProvider {
<iframe <iframe
src="https://drop.erikraft.com/" src="https://drop.erikraft.com/"
width="390"
height="844"
style="border: none; border-radius: 16px;"
allow="clipboard-write; camera; microphone; autoplay;" allow="clipboard-write; camera; microphone; autoplay;"
sandbox="allow-same-origin allow-scripts allow-popups allow-forms" sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
></iframe> ></iframe>