yoga null element fix
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
6089a3a549
commit
562541d6d3
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -66,7 +66,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
steps {
|
||||
archiveArtifacts artifacts: './hs_err_pid*.log', fingerprint: true
|
||||
wrap(
|
||||
[
|
||||
$class: 'Xvfb',
|
||||
|
||||
@ -355,7 +355,7 @@ public class Window implements DrawableElement, ContainerElement, NavigableEleme
|
||||
|
||||
@Override
|
||||
public void applyYoga(int parentX, int parentY) {
|
||||
if(this.yogaNode != Element.NULL_YOGA_ELEMENT){
|
||||
if(this.yogaNode != Element.NULL_YOGA_ELEMENT && parentWindowYogaNode != Element.NULL_YOGA_ELEMENT){
|
||||
Yoga.YGNodeStyleSetWidth(parentWindowYogaNode, Globals.WINDOW_WIDTH);
|
||||
Yoga.YGNodeStyleSetHeight(parentWindowYogaNode, Globals.WINDOW_HEIGHT);
|
||||
//calculate yoga layout
|
||||
|
||||
Loading…
Reference in New Issue
Block a user