Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scilla-components
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
劳工
scilla-components
Commits
d6f15329
Commit
d6f15329
authored
Apr 12, 2019
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改callOnNextTick方法,不去重
parent
35e4fbd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
index.ts
src/net/index.ts
+0
-1
FullStageSize.ts
src/other/FullStageSize.ts
+9
-2
No files found.
src/net/index.ts
View file @
d6f15329
export
{
enjectBaseUrl
}
from
'./webService'
export
{
default
as
SampleApi
}
from
'./SampleApi'
\ No newline at end of file
src/other/FullStageSize.ts
View file @
d6f15329
...
...
@@ -10,6 +10,8 @@ import {getStageSize, ScillaComponent, } from "scilla";
*/
export
default
class
FullStageSize
extends
ScillaComponent
{
once
:
boolean
=
true
;
applyWidth
:
boolean
=
true
;
applyHeight
:
boolean
=
true
;
private
_stageSize
;
...
...
@@ -48,7 +50,12 @@ export default class FullStageSize extends ScillaComponent {
execute
()
{
const
{
width
,
height
}
=
this
.
stageSize
;
this
.
transform
.
width
=
width
;
this
.
transform
.
height
=
height
;
if
(
this
.
applyWidth
){
this
.
transform
.
width
=
width
;
}
if
(
this
.
applyHeight
){
this
.
transform
.
height
=
height
;
}
}
}
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