forked from 0x2620/oxjs
fix a bug in split panel, regarding the size of a second element in relation to a collapsed third element
This commit is contained in:
parent
90eaf97fec
commit
7747255ab8
2 changed files with 3 additions and 3 deletions
|
|
@ -142,7 +142,7 @@ Ox.SplitPanel = function(options, self) {
|
|||
css[self.edges[0]] = 'auto'; // fixme: why is this needed?
|
||||
}
|
||||
css[self.edges[1]] = (
|
||||
self.length == 3 ? getVisibleSize(self.options.elements[2]) : 0
|
||||
self.length == 3 ? getSize(self.options.elements[2]) : 0
|
||||
) + 'px';
|
||||
} else {
|
||||
if (element.size == 'auto') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue