mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 15:24:00 +01:00
On start of the drag, all tabs apart from the one we are dragging are given the additional tabSlide class so they slide in the background. Better use of swapWith variable and now setting background tabs position more effectively plus also setting opacity and returning to full opacity on release of mouse button. On that event we also add the tabSlide class on our released tab so it slides into place, set the tab widths/positions again and after 150ms (after our released tab has finished it's slide transition), reset the zIndex, classname for everything back to the initial state.