附件图标遮挡问题
This commit is contained in:
parent
8deeb21922
commit
9c735dd93e
@ -5479,6 +5479,11 @@ var Designer = {
|
|||||||
var y = $("<div class='shape_link_point' style='cursor: pointer; position: absolute; right: -14px; bottom: -0px; width: 10px; height: 10px; color: #515151;'>" +
|
var y = $("<div class='shape_link_point' style='cursor: pointer; position: absolute; right: -14px; bottom: -0px; width: 10px; height: 10px; color: #515151;'>" +
|
||||||
"<i class='awsui-iconfont' awsui-qtip='链接' style='cursor: pointer; font-size: 13px;'></i>" +
|
"<i class='awsui-iconfont' awsui-qtip='链接' style='cursor: pointer; font-size: 13px;'></i>" +
|
||||||
"</div>").appendTo(o);
|
"</div>").appendTo(o);
|
||||||
|
setTimeout(function () {
|
||||||
|
var start = Model.maxZIndex + 1;
|
||||||
|
q.props.zindex = start; //q为当前shape
|
||||||
|
Model.updateMulti([q]);
|
||||||
|
},300);
|
||||||
y.on("mousedown.link",
|
y.on("mousedown.link",
|
||||||
function(I) {
|
function(I) {
|
||||||
I.stopPropagation();
|
I.stopPropagation();
|
||||||
@ -5653,6 +5658,9 @@ var Designer = {
|
|||||||
q.props.zindex = start; //q为当前shape
|
q.props.zindex = start; //q为当前shape
|
||||||
Model.updateMulti([q]);*/
|
Model.updateMulti([q]);*/
|
||||||
// 重画节点 Designer.painter.renderShape(q);
|
// 重画节点 Designer.painter.renderShape(q);
|
||||||
|
var start = Model.maxZIndex + 1;
|
||||||
|
q.props.zindex = start; //q为当前shape
|
||||||
|
Model.updateMulti([q]);
|
||||||
y.on("mousedown.attachment",
|
y.on("mousedown.attachment",
|
||||||
function(I) {
|
function(I) {
|
||||||
I.stopPropagation();
|
I.stopPropagation();
|
||||||
|
|||||||
@ -5620,6 +5620,11 @@ var Designer = {
|
|||||||
var y = $("<div class='shape_link_point' style='cursor: pointer; position: absolute; right: -14px; bottom: -0px; width: 10px; height: 10px; color: #515151;'>" +
|
var y = $("<div class='shape_link_point' style='cursor: pointer; position: absolute; right: -14px; bottom: -0px; width: 10px; height: 10px; color: #515151;'>" +
|
||||||
"<i class='awsui-iconfont' awsui-qtip='链接' style='cursor: pointer; font-size: 13px;'></i>" +
|
"<i class='awsui-iconfont' awsui-qtip='链接' style='cursor: pointer; font-size: 13px;'></i>" +
|
||||||
"</div>").appendTo(o);
|
"</div>").appendTo(o);
|
||||||
|
setTimeout(function () {
|
||||||
|
var start = Model.maxZIndex + 1;
|
||||||
|
q.props.zindex = start; //q为当前shape
|
||||||
|
Model.updateMulti([q]);
|
||||||
|
},300);
|
||||||
y.on("mousedown.link",
|
y.on("mousedown.link",
|
||||||
function(I) {
|
function(I) {
|
||||||
I.stopPropagation();
|
I.stopPropagation();
|
||||||
@ -5794,6 +5799,9 @@ var Designer = {
|
|||||||
q.props.zindex = start; //q为当前shape
|
q.props.zindex = start; //q为当前shape
|
||||||
Model.updateMulti([q]);*/
|
Model.updateMulti([q]);*/
|
||||||
// 重画节点 Designer.painter.renderShape(q);
|
// 重画节点 Designer.painter.renderShape(q);
|
||||||
|
var start = Model.maxZIndex + 1;
|
||||||
|
q.props.zindex = start; //q为当前shape
|
||||||
|
Model.updateMulti([q]);
|
||||||
y.on("mousedown.attachment",
|
y.on("mousedown.attachment",
|
||||||
function(I) {
|
function(I) {
|
||||||
I.stopPropagation();
|
I.stopPropagation();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user