岗位显示
This commit is contained in:
parent
849792df42
commit
a680b9f4d1
@ -367,7 +367,6 @@ var Designer = {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
debugger;
|
|
||||||
b.attr("class", "shape_box");
|
b.attr("class", "shape_box");
|
||||||
Designer.events.push("created", g);
|
Designer.events.push("created", g);
|
||||||
Model.add(g);
|
Model.add(g);
|
||||||
@ -4059,7 +4058,6 @@ var Designer = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
renderShape: function(q) {
|
renderShape: function(q) {
|
||||||
debugger;
|
|
||||||
if (q.name == "linker") {
|
if (q.name == "linker") {
|
||||||
this.renderLinker(q);
|
this.renderLinker(q);
|
||||||
return
|
return
|
||||||
@ -4507,7 +4505,6 @@ var Designer = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
renderDataAttributes: function(i, k) {
|
renderDataAttributes: function(i, k) {
|
||||||
debugger;
|
|
||||||
$("#" + i.id).children(".attr_canvas").remove();
|
$("#" + i.id).children(".attr_canvas").remove();
|
||||||
if (!i.dataAttributes || i.dataAttributes.length == 0) {
|
if (!i.dataAttributes || i.dataAttributes.length == 0) {
|
||||||
return
|
return
|
||||||
@ -4576,7 +4573,6 @@ var Designer = {
|
|||||||
m(j, l, o)*/
|
m(j, l, o)*/
|
||||||
}
|
}
|
||||||
function m(c, y, x) {
|
function m(c, y, x) {
|
||||||
debugger;
|
|
||||||
var h = c.horizontal;
|
var h = c.horizontal;
|
||||||
var I = c.vertical;
|
var I = c.vertical;
|
||||||
var H = $("<canvas id='attr_canvas_" + c.id + "' class='attr_canvas'></canvas>").appendTo($("#" + i.id));
|
var H = $("<canvas id='attr_canvas_" + c.id + "' class='attr_canvas'></canvas>").appendTo($("#" + i.id));
|
||||||
@ -4694,7 +4690,6 @@ var Designer = {
|
|||||||
b.fillStyle = "#6666FF";
|
b.fillStyle = "#6666FF";
|
||||||
}
|
}
|
||||||
var tempY = a / 2 + v * 12;
|
var tempY = a / 2 + v * 12;
|
||||||
debugger;
|
|
||||||
if (tempL < D) {
|
if (tempL < D) {
|
||||||
b.fillText(y.substring(v * tempShapeWidth / (D / y.length), tempL / (D / y.length)), tempX, tempY);
|
b.fillText(y.substring(v * tempShapeWidth / (D / y.length), tempL / (D / y.length)), tempX, tempY);
|
||||||
} else {
|
} else {
|
||||||
@ -6188,7 +6183,6 @@ var Utils = {
|
|||||||
for (var au = 0; au < am.dataAttributes.length; au++) {
|
for (var au = 0; au < am.dataAttributes.length; au++) {
|
||||||
var ap = am.dataAttributes[au];
|
var ap = am.dataAttributes[au];
|
||||||
if (ap.type == "link" && ap.showType && ap.showType != "none") {
|
if (ap.type == "link" && ap.showType && ap.showType != "none") {
|
||||||
debugger;
|
|
||||||
var af = i.children("#attr_canvas_" + ap.id);
|
var af = i.children("#attr_canvas_" + ap.id);
|
||||||
if (af.length > 0) {
|
if (af.length > 0) {
|
||||||
var ai = af.position();
|
var ai = af.position();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user