Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4003448d
authored
Jan 17, 2024
by
liuyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改画布
1 parent
04923773
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
public/drawio/js/diagramly/EditorUi.js
public/drawio/js/diagramly/EditorUi.js
View file @
4003448
...
@@ -4026,7 +4026,7 @@
...
@@ -4026,7 +4026,7 @@
link
.
setAttribute
(
'title'
,
mxResources
.
get
(
'help'
));
link
.
setAttribute
(
'title'
,
mxResources
.
get
(
'help'
));
link
.
style
.
cssText
=
'color:#a3a3a3;text-decoration:none;margin-right:2px;cursor:pointer;'
;
link
.
style
.
cssText
=
'color:#a3a3a3;text-decoration:none;margin-right:2px;cursor:pointer;'
;
mxUtils
.
write
(
link
,
'?'
);
mxUtils
.
write
(
link
,
'?'
);
link
.
style
.
display
=
'none'
;
//二次开发,隐藏便笺本的帮助图标
mxEvent
.
addGestureListeners
(
link
,
mxUtils
.
bind
(
this
,
function
(
evt
)
mxEvent
.
addGestureListeners
(
link
,
mxUtils
.
bind
(
this
,
function
(
evt
)
{
{
this
.
openLink
(
EditorUi
.
scratchpadHelpLink
);
this
.
openLink
(
EditorUi
.
scratchpadHelpLink
);
...
@@ -4040,6 +4040,8 @@
...
@@ -4040,6 +4040,8 @@
title
.
appendChild
(
buttons
);
title
.
appendChild
(
buttons
);
title
.
style
.
paddingRight
=
(
buttons
.
childNodes
.
length
*
btnWidth
)
+
'px'
;
title
.
style
.
paddingRight
=
(
buttons
.
childNodes
.
length
*
btnWidth
)
+
'px'
;
this
.
editor
.
fireEvent
(
new
mxEventObject
(
'libraryLoaded'
));
this
.
editor
.
fireEvent
(
new
mxEventObject
(
'libraryLoaded'
));
$
(
"img[valign='absmiddle']"
).
eq
(
2
).
css
(
'display'
,
'none'
);
//二次开发,隐藏便笺本的删除图标
};
};
/**
/**
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment