adobe/brackets — pull request #2223 by peterflynn (2012-11-27 08:27:33+00:00)
Title: Partial fix for #2015 (Bottom panels get messed up if resized to max height)

Partial fix for #2015 -- fixes the originally reported bug, but not several related issues that are listed lower down in the bug thread.

About this fix:
When panel size > the available area (which can happen several ways, including a bug in Resizer that allows drags to overshoot the max size that would fit), we were computing a negative size for the #editor-holder. This was a problem because jQuery no-ops on negative sizes; clipping to 0 gives much better results.

#2015 should remain open to track the other panel-oversize-related bugs mentioned there.