オーバーフローしたかどうかの判定ロジック修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3759 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
98a6e194e2
commit
a8ab6d4048
@ -17,13 +17,13 @@
|
||||
<handlers>
|
||||
<handler event="underflow"><![CDATA[
|
||||
var tabs = document.getBindingParent(this);
|
||||
if ((event.detail == 0) == (tabs.getAttribute('orient') == 'horizontal'))
|
||||
if ((event.detail == 0) == (tabs.orient == 'horizontal'))
|
||||
return;
|
||||
tabs.removeAttribute("overflow");
|
||||
]]></handler>
|
||||
<handler event="overflow"><![CDATA[
|
||||
var tabs = document.getBindingParent(this);
|
||||
if ((event.detail == 0) == (tabs.getAttribute('orient') == 'horizontal'))
|
||||
if ((event.detail == 0) == (tabs.orient == 'horizontal'))
|
||||
return;
|
||||
tabs.setAttribute("overflow", "true");
|
||||
this.scrollBoxObject.ensureElementIsVisible(tabs.selectedItem);
|
||||
|
Loading…
x
Reference in New Issue
Block a user