LinuxでCtrlキーの長押しが機能しない問題を修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2042 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
6e219d6426
commit
59e3e617df
@ -1252,7 +1252,11 @@ catch(e) {
|
|||||||
if (this.delayedAutoShowDone)
|
if (this.delayedAutoShowDone)
|
||||||
this.cancelDelayedAutoShow();
|
this.cancelDelayedAutoShow();
|
||||||
|
|
||||||
this.accelKeyPressed = (navigator.platform.match(/mac/i) ? aEvent.metaKey : aEvent.ctrlKey );
|
this.accelKeyPressed = (
|
||||||
|
navigator.platform.match(/mac/i) ?
|
||||||
|
(aEvent.metaKey || (aEvent.keyCode == aEvent.DOM_VK_META)) :
|
||||||
|
(aEvent.ctrlKey || (aEvent.keyCode == aEvent.DOM_VK_CONTROL))
|
||||||
|
);
|
||||||
if (
|
if (
|
||||||
b.mTabContainer.childNodes.length > 1 &&
|
b.mTabContainer.childNodes.length > 1 &&
|
||||||
!aEvent.altKey &&
|
!aEvent.altKey &&
|
||||||
|
Loading…
Reference in New Issue
Block a user