Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RickyDane committed Feb 13, 2024
1 parent bdd5af2 commit e572f64
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ui/main_logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ document.onkeydown = async (e) => {
e.stopPropagation();
}
// check if backspace is pressed
if (e.keyCode == 8) {
if (e.keyCode == 8 && IsPopUpOpen == false) {
goBack();
e.preventDefault();
e.stopPropagation();
Expand Down Expand Up @@ -519,7 +519,7 @@ document.onkeydown = async (e) => {
}

// check if ctrl / cmd + m is pressed
if (((e.ctrlKey && Platform != "darwin") || e.metaKey) && e.shiftKey && e.key == "m") {
if (((e.ctrlKey && Platform != "darwin") || e.metaKey) && e.shiftKey && (e.key == "M" || e.key == "m")) {
showMultiRenamePopup();
e.preventDefault();
e.stopPropagation();
Expand Down Expand Up @@ -1023,6 +1023,7 @@ async function compressItem(item, compressionLevel = 6) {
}

async function showCompressPopup(item) {
IsPopUpOpen = true;
ContextMenu.style.display = "none";
let compressFileName = item.getAttribute("itemname");
if (compressFileName != "") {
Expand Down Expand Up @@ -1082,7 +1083,7 @@ function showLoadingPopup(msg) {
<h4>${msg}</h4>
<img width="32px" height="auto" src="resources/preloader.gif" />
`;
popup.className = "loading-popup";
popup.className = "uni-popup loading-popup";
body.append(popup);
IsPopUpOpen = true;
}
Expand Down

0 comments on commit e572f64

Please sign in to comment.