+ Fixed: Bug 570089 - Dragging northwest in tabcandy area creates zero-area tab group

This commit is contained in:
Ian Gilman 2010-06-18 14:42:06 -07:00
parent 9d8648e238
commit 19713fb918

View File

@ -233,6 +233,19 @@ window.Rect.prototype = {
this.top = a.top;
this.width = a.width;
this.height = a.height;
},
// ----------
// Function: css
// Returns an object with the dimensions of this rectangle, suitable for passing into iQ.fn.css.
// You could of course just pass the rectangle straight in, but this is cleaner.
css: function() {
return {
left: this.left,
top: this.top,
width: this.width,
height: this.height
};
}
};