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-75d572ba1dddmaster
parent
2f767163b0
commit
d7c30bb45d
|
@ -448,16 +448,7 @@
|
||||||
fill: #FFF !important;
|
fill: #FFF !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#svg_editor #selected_panel,
|
#tools_top div[id$="_panel"]:not(#editor_panel):not(#history_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 {
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5067,7 +5067,7 @@ var getMouseTarget = this.getMouseTarget = function(evt) {
|
||||||
// always recalculate dimensions to strip off stray identity transforms
|
// always recalculate dimensions to strip off stray identity transforms
|
||||||
recalculateAllSelectedDimensions();
|
recalculateAllSelectedDimensions();
|
||||||
// if it was being dragged/resized
|
// 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;
|
var len = selectedElements.length;
|
||||||
for (var i = 0; i < len; ++i) {
|
for (var i = 0; i < len; ++i) {
|
||||||
if (selectedElements[i] == null) break;
|
if (selectedElements[i] == null) break;
|
||||||
|
|
Loading…
Reference in New Issue