Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-engine
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
zeroing-engine
Commits
3cf83b73
Commit
3cf83b73
authored
May 22, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8e410772
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
18 deletions
+4
-18
workspace.xml
.idea/workspace.xml
+1
-4
engine.js
debug/engine.js
+1
-12
engine.js.map
debug/engine.js.map
+1
-1
AlignManager.ts
src/zeroing/decorators/AlignManager.ts
+1
-1
No files found.
.idea/workspace.xml
View file @
3cf83b73
...
...
@@ -3,10 +3,7 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"af35c04f-08f6-48ed-85db-2f94c60e87fd"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/debug/engine.js"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/debug/engine.js"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/debug/engine.js.map"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/debug/engine.js.map"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/zeroing/decorators/AlignManager.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/zeroing/decorators/AlignManager.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/zeroing/decorators/auto-adjust.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/zeroing/decorators/auto-adjust.ts"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -175,7 +172,7 @@
<workItem
from=
"1589888428282"
duration=
"5840000"
/>
<workItem
from=
"1589990226868"
duration=
"35000"
/>
<workItem
from=
"1590026135813"
duration=
"6205000"
/>
<workItem
from=
"1590111768143"
duration=
"4
117
000"
/>
<workItem
from=
"1590111768143"
duration=
"4
816
000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"11"
>
<created>
1590043861171
</created>
...
...
debug/engine.js
View file @
3cf83b73
...
...
@@ -1923,7 +1923,7 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
var _right = judgePR ? percentRight / 100 * pW_Z : right;
var _top = judgePT ? percentTop / 100 * pH_Z : top;
var _bottom = judgePB ? percentBottom / 100 * pH_Z : bottom;
if
(
t
t
(
_left
,
_right
))
{
if (t
oBoolean(_left) && toBoolean(
_right)) {
that.x = _left;
that.width = pW_Z - _left - _right;
}
...
...
@@ -1994,17 +1994,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
};
return AlignManager;
}());
function
tt
()
{
var
v
=
[];
for
(
var
_i
=
0
;
_i
<
arguments
.
length
;
_i
++
)
{
v
[
_i
]
=
arguments
[
_i
];
}
for
(
var
i
=
0
;
i
<
v
.
length
;
i
++
)
{
if
(
!
toBoolean
(
v
[
i
]))
return
false
;
}
return
true
;
}
var alignMgr = new AlignManager();
function applyAutoAdjust(ctor) {
...
...
debug/engine.js.map
View file @
3cf83b73
This diff is collapsed.
Click to expand it.
src/zeroing/decorators/AlignManager.ts
View file @
3cf83b73
...
...
@@ -84,7 +84,7 @@ class AlignManager {
/**
* 计算 width 和 x 值
*/
if
(
t
t
(
_left
,
_right
))
{
// _left _right 都有则直接拉伸或缩小
if
(
t
oBoolean
(
_left
)
&&
toBoolean
(
_right
))
{
// _left _right 都有则直接拉伸或缩小
that
.
x
=
_left
;
...
...
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