Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
b4a9dc23
Commit
b4a9dc23
authored
Jan 22, 2016
by
hy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加一个根节点文字修改事件
parent
8c91b7e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
text.js
src/module/text.js
+8
-4
No files found.
src/module/text.js
View file @
b4a9dc23
...
...
@@ -217,6 +217,10 @@ define(function(require, exports, module) {
node
.
_currentTextHash
=
textHash
;
if
(
node
.
type
===
'root'
)
{
node
.
minder
.
fire
(
'roottextchange'
,
{
node
:
node
});
};
return
function
()
{
textGroup
.
eachItem
(
function
(
i
,
textShape
)
{
var
y
=
yStart
+
i
*
fontSize
*
lineHeight
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment