fluxtream/fluxtream-app — pull request #16 by candu (2012-11-15 02:38:46+00:00)
Title: Fixing non-default height channel tabs

Grapher.addChannel() was never updating the channel label height upon
creating the channel view. This refactors Grapher a bit:

- pull resizePlot() out of dragAreaOnMouseDown();
- move some parameters/declarations around to get it working again;
- call resizePlot() at the end of Grapher.addChannel() to force a
resize.

Tested on Chrome, FF, Safari.