drop indicator of the tab bar is shown wrongly for vertical tab bar.
This commit is contained in:
parent
00cebb1eda
commit
c117ad1ccf
@ -942,8 +942,12 @@ try{
|
|||||||
info.position == sv.kDROP_AFTER ? 'after' :
|
info.position == sv.kDROP_AFTER ? 'after' :
|
||||||
'self'
|
'self'
|
||||||
);
|
);
|
||||||
|
|
||||||
var indicator = b.mTabDropIndicatorBar || b.tabContainer._tabDropIndicator;
|
var indicator = b.mTabDropIndicatorBar || b.tabContainer._tabDropIndicator;
|
||||||
indicator.setAttribute('dragging', (info.position == sv.kDROP_ON) ? 'false' : 'true' );
|
indicator.setAttribute('dragging', (info.position == sv.kDROP_ON) ? 'false' : 'true' );
|
||||||
|
if (sv.isVertical)
|
||||||
|
indicator.collapsed = true;
|
||||||
|
|
||||||
return (info.position == sv.kDROP_ON || sv.currentTabbarPosition != 'top')
|
return (info.position == sv.kDROP_ON || sv.currentTabbarPosition != 'top')
|
||||||
}
|
}
|
||||||
catch(e) {
|
catch(e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user