File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
sources/net.sf.j2s.java.core/srcjs/js Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1437,6 +1437,7 @@ if (database == "_" && J2S._serverUrl.indexOf("//your.server.here/") >= 0) {
14371437 && ( obj . _z = obj . __Info . z = getZOrders ( Info . zIndexBase ) ) ;
14381438 obj . _width = Info . width ;
14391439 obj . _height = Info . height ;
1440+ obj . _isResizable = Info . isResizable ;
14401441 obj . _noscript = ! obj . _isJava && Info . noscript ;
14411442 obj . _console = Info . console ;
14421443 obj . _cacheFiles = ! ! Info . cacheFiles ;
@@ -2492,8 +2493,8 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
24922493 this . _is2D = true ;
24932494 this . _isJava = false ;
24942495 this . _isJNLP = ! ! Info . main ;
2495- if ( typeof Info . isResizable == "undefined" && ( "" + Info . width ) . indexOf ( "px" ) >= 0 )
2496- Info . isResizable = false ;
2496+ if ( typeof Info . isResizable == "undefined" )
2497+ Info . isResizable = ( ( "" + Info . width ) . indexOf ( "px" ) < 0 ) ;
24972498 this . _jmolType = "J2S._Canvas2D (" + type + ")" ;
24982499 this . _isLayered = Info . _isLayered || false ; // JSV or SwingJS are
24992500 // layered
You can’t perform that action at this time.
0 commit comments