Skip to content

Commit

Permalink
fix right click saving images
Browse files Browse the repository at this point in the history
  • Loading branch information
dclstn committed Oct 12, 2024
1 parent 660666f commit 5476b86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "BetterSnap - Make Snapchat Web Better",
"version": "1.3.3",
"version": "1.3.4",
"description": "Screenshot & View Unread Chats, Send as Mobile, and more! Previously known as Better Snapchat.",
"scripts": {
"start": "rm -rf ./public/build/ && node ./scripts/dev.js",
Expand Down
10 changes: 5 additions & 5 deletions src/script/modules/context-menu/index.module.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
.saveImage div[role='img'] > img {
.saveImage div > img {
pointer-events: unset !important;
user-select: none;
}

.saveImage div[role='img'] > img:hover {
.saveImage div > img:hover {
cursor: pointer;
}

.saveImage div[role='img'] video {
.saveImage div video {
user-select: none;
pointer-events: unset !important;
}

.saveImage div[role='img'] video:hover {
.saveImage div video:hover {
cursor: pointer;
}

.saveImage div[role='img']:has(video):has(img) > img {
.saveImage div:has(video):has(img) > img {
pointer-events: none !important;
}

0 comments on commit 5476b86

Please sign in to comment.