@@ -1805,6 +1805,7 @@ function wcPanel(type) {
18051805 y : true ,
18061806 } ;
18071807
1808+ this . _overflowVisible = false ;
18081809 this . _moveable = true ;
18091810 this . _closeable = true ;
18101811
@@ -1909,6 +1910,20 @@ wcPanel.prototype = {
19091910 } ;
19101911 } ,
19111912
1913+ // Gets, or Sets whether overflow on this panel is visible.
1914+ // Params:
1915+ // visible If supplied, assigns whether overflow is visible.
1916+ //
1917+ // Returns:
1918+ // boolean The current overflow visibility.
1919+ overflowVisible : function ( visible ) {
1920+ if ( typeof visible !== 'undefined' ) {
1921+ this . _overflowVisible = visible ? true : false ;
1922+ }
1923+
1924+ return this . _overflowVisible ;
1925+ } ,
1926+
19121927 // Gets, or Sets whether the window is scrollable.
19131928 // Params:
19141929 // x, y If supplied, assigns whether the window is scrollable
@@ -2519,6 +2534,9 @@ wcFrame.prototype = {
25192534 this . $center . toggleClass ( 'wcScrollableX' , scrollable . x ) ;
25202535 this . $center . toggleClass ( 'wcScrollableY' , scrollable . y ) ;
25212536
2537+ var overflowVisible = panel . overflowVisible ( ) ;
2538+ this . $center . toggleClass ( 'wcOverflowVisible' , overflowVisible ) ;
2539+
25222540 if ( panel . moveable ( ) && panel . title ( ) ) {
25232541 this . $frame . prepend ( this . $title ) ;
25242542 this . $center . css ( 'top' , '' ) ;
0 commit comments