mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 15:52:26 +01:00
canonicalKeys("<S-a>") → "A".
This commit is contained in:
@@ -820,6 +820,7 @@ var Events = Module("events", {
|
||||
if (evt_obj.shiftKey)
|
||||
keyname = keyname.toUpperCase();
|
||||
|
||||
evt_obj.dactylShift = evt_obj.shiftKey && keyname.toUpperCase() == keyname.toLowerCase();
|
||||
evt_obj.charCode = keyname.charCodeAt(0);
|
||||
evt_obj._keyCode = this._key_code[keyname.toLowerCase()];
|
||||
}
|
||||
|
||||
@@ -770,15 +770,6 @@ var DOM = Class("DOM", {
|
||||
continue;
|
||||
|
||||
force = Math.round(isect.width - rect.width) || Math.round(isect.height - rect.height);
|
||||
let vp = parent.viewport;
|
||||
if (force)
|
||||
util.dump(vp,
|
||||
rect.left - vp.left,
|
||||
rect.right - vp.right,
|
||||
rect.top - vp.top,
|
||||
rect.bottom - vp.bottom,
|
||||
isect.width - rect.width, isect.height - rect.height,
|
||||
parent[0]);
|
||||
if (force)
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user