Skip to content

Commit

Permalink
Fix keybinding for select all and select none
Browse files Browse the repository at this point in the history
  • Loading branch information
petervanderwalt committed Nov 25, 2024
1 parent dfe8551 commit bacb751
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/advanced-cam-keyboard-bindings.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ $(document).keydown(function(e) {
} else if (e.which === 65 && e.ctrlKey && e.shiftKey) { // Press ctrl+shift+a Unselect All
// console.log('control + shift + a');
if (mouseState != "scale") {
selectNone();
$('#selectNone').click();
return false;
};
} else if (e.which === 65 && e.ctrlKey) { // Press ctrl+a to Select All
// console.log('control + a');
if (mouseState != "scale") {
selectAll();
// selectAll();
$('#selectAll').click();
return false;
};
};
Expand Down

0 comments on commit bacb751

Please sign in to comment.