Fix no-drag css (#331)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2020-05-01 10:39:53 +03:00
1 parent 724cf0c687
commit 03aab714d8
2 files changed
+2 -4

No files matched your search

-4
View File
@@ -93,10 +93,6 @@ export default {
console.log("lens loaded")
this.lens.loaded = true;
this.$store.commit("updateLens", this.lens);
this.lens.webview.getWebContents().executeJavaScript(
// disable dragging of ui links
'document.styleSheets[0].insertRule("*, *::after, *::before { -webkit-user-drag: none; -webkit-app-region: no-drag; }", 1);'
);
},
// Called only when online state changes
toggleLens: function() {