Commit 8f2cf533 authored by Nick Poulden's avatar Nick Poulden
Browse files

Tab animation speed

parent edf1853d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ Ext.define('Docs.view.Tabs', {

    minTabWidth: 80,
    maxTabWidth: 160,
    animDuration: 150,

    tabs: [],
    tabsInBar: [],
@@ -269,9 +270,11 @@ Ext.define('Docs.view.Tabs', {

        docTab.dom.removed = true;
        docTab.animate({
            to: { top: 30 }
            to: { top: 30 },
            duration: this.animDuration
        }).animate({
            to: { width: 10 },
            duration: this.animDuration,
            listeners: {
                afteranimate: function() {
                    docTab.remove();