mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-11 01:25:45 +01:00
Add o_c, o_d, and o_y. Fix selection mode change magic bug.
This commit is contained in:
@@ -909,6 +909,10 @@ var Events = Module("events", {
|
||||
}),
|
||||
|
||||
onSelectionChange: function onSelectionChange(event) {
|
||||
// Ignore selection events caused by editor commands.
|
||||
if (editor.inEditMap || modes.main == modes.OPERATOR)
|
||||
return;
|
||||
|
||||
let controller = document.commandDispatcher.getControllerForCommand("cmd_copy");
|
||||
let couldCopy = controller && controller.isCommandEnabled("cmd_copy");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user