Skip to content

Commit

Permalink
Disable animation
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzhao committed Aug 19, 2015
1 parent fdbd946 commit 71828b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions views/double-tabareas.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ControlledTabArea = React.createClass
window.addEventListener 'tabarea.reload', @forceUpdate
render: ->
<div className='poi-tabs-container'>
<TabbedArea activeKey={@state.key[0]} onSelect={@handleSelectLeft} animation={true}>
<TabbedArea activeKey={@state.key[0]} onSelect={@handleSelectLeft} animation={false}>
{
[
components.map (component, index) =>
Expand All @@ -113,7 +113,7 @@ ControlledTabArea = React.createClass
]
}
</TabbedArea>
<TabbedArea activeKey={@state.key[1]} onSelect={@handleSelectRight} animation={true}>
<TabbedArea activeKey={@state.key[1]} onSelect={@handleSelectRight} animation={false}>
<DropdownButton key={-1} eventKey={-1} tab={<span>{plugins[@state.key[1]]?.displayName || <span><FontAwesome name='sitemap' /> 插件</span>}</span>} navItem={true}>
{
counter = -1
Expand Down
2 changes: 1 addition & 1 deletion views/single-tabarea.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ ControlledTabArea = React.createClass
window.addEventListener 'game.start', @handleKeyDown
window.addEventListener 'tabarea.reload', @forceUpdate
render: ->
<TabbedArea activeKey={@state.key} onSelect={@handleSelect} animation={true}>
<TabbedArea activeKey={@state.key} onSelect={@handleSelect} animation={false}>
{
[
components.map (component, index) =>
Expand Down

0 comments on commit 71828b7

Please sign in to comment.