Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gl-react-native-v2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
gl-react-native-v2
Commits
7dbb63c6
Commit
7dbb63c6
authored
Sep 09, 2015
by
Gaëtan Renaudeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix key of uniform content
parent
f952d130
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/View.js
src/View.js
+1
-2
No files found.
src/View.js
View file @
7dbb63c6
...
@@ -13,7 +13,6 @@ const GLCanvas = requireNativeComponent("GLCanvas", null);
...
@@ -13,7 +13,6 @@ const GLCanvas = requireNativeComponent("GLCanvas", null);
const
renderVcontent
=
function
(
width
,
height
,
id
,
children
)
{
const
renderVcontent
=
function
(
width
,
height
,
id
,
children
)
{
const
childrenStyle
=
{
const
childrenStyle
=
{
key
:
id
,
position
:
"
absolute
"
,
position
:
"
absolute
"
,
top
:
0
,
top
:
0
,
left
:
0
,
left
:
0
,
...
@@ -21,7 +20,7 @@ const renderVcontent = function (width, height, id, children) {
...
@@ -21,7 +20,7 @@ const renderVcontent = function (width, height, id, children) {
height
:
height
,
height
:
height
,
overflow
:
"
hidden
"
overflow
:
"
hidden
"
};
};
return
<
View
style
=
{
childrenStyle
}
>
{
children
}
<
/View>
;
return
<
View
key
=
{
id
}
style
=
{
childrenStyle
}
>
{
children
}
<
/View>
;
};
};
const
renderVGL
=
function
(
props
)
{
const
renderVGL
=
function
(
props
)
{
...
...
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