diff --git a/editor/locale/locale.js b/editor/locale/locale.js index 56a2ac78..a9d0a8dd 100644 --- a/editor/locale/locale.js +++ b/editor/locale/locale.js @@ -13,7 +13,8 @@ var put_locale = function(svgCanvas, given_param){ return; } // don't bother on first run if language is English - if(String(lang_param).indexOf("en") == 0) return; + lang_param = String(lang_param); + if(lang_param.indexOf("en") == 0) return; } var url = "locale/lang." + lang_param + ".js"; diff --git a/editor/svg-editor.css b/editor/svg-editor.css index 563ebaf9..c805b656 100644 --- a/editor/svg-editor.css +++ b/editor/svg-editor.css @@ -588,6 +588,10 @@ span.zoom_tool { font-size: .8em; } +#svg_docprops #resolution { + max-width: 14em; +} + #tool_docprops_back { margin-left: 1em; } @@ -597,6 +601,7 @@ span.zoom_tool { float: left; width: 200px; margin: 5px .7em; + overflow: hidden; } #svg_docprops_docprops > legend, #svg_docprops_prefs > legend { diff --git a/editor/svg-editor.html b/editor/svg-editor.html index 57a6414f..58270c13 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -386,7 +386,7 @@ script type="text/javascript" src="locale/locale.min.js"> - +