Changed CSS selector to make all panels but editor and history hidden by default

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1710 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2010-09-10 13:58:34 +00:00
parent 2f767163b0
commit d7c30bb45d
2 changed files with 2 additions and 11 deletions

View File

@ -448,16 +448,7 @@
fill: #FFF !important;
}
#svg_editor #selected_panel,
#svg_editor #multiselected_panel,
#svg_editor #g_panel,
#svg_editor #rect_panel,
#svg_editor #circle_panel,
#svg_editor #ellipse_panel,
#svg_editor #line_panel,
#svg_editor #image_panel,
#svg_editor #text_panel,
#svg_editor #path_node_panel {
#tools_top div[id$="_panel"]:not(#editor_panel):not(#history_panel) {
display: none;
}

View File

@ -5067,7 +5067,7 @@ var getMouseTarget = this.getMouseTarget = function(evt) {
// always recalculate dimensions to strip off stray identity transforms
recalculateAllSelectedDimensions();
// if it was being dragged/resized
if (x != start_x || y != start_y) {
if (real_x != r_start_x || real_y != r_start_y) {
var len = selectedElements.length;
for (var i = 0; i < len; ++i) {
if (selectedElements[i] == null) break;