@Override public void fadeOut() { Tween.to(Launcher.instance().editorScreen.leftPaneBlocker, BlockerTweenAccessor.ALPHA, .3f) .target(0) .ease(Linear.INOUT) .start(tweenManager); Tween.to(Launcher.instance().editorScreen.rightPaneBlocker, BlockerTweenAccessor.ALPHA, .3f) .target(0) .ease(Linear.INOUT) .start(tweenManager); super.fadeOut(); }
@Override protected void sizeChanged() { super.sizeChanged(); if (!ready) return; setDebug(false, true); // graphScroller.setPosition(197, 5); // graphScroller.setSize(getWidth()-202, (getHeight()-getPadTop())-10); graphContainer.setPosition(5, 5); graphContainer.setSize(getWidth() - 10, (getHeight() - getPadTop()) - 10); // activeNodes.setSize(192, ((getHeight()-getPadTop())/1.5f)-10); // activeNodes.setPosition(5, ((getHeight()-getPadTop())/3)+5); // nodeTableScroller.setSize(192, (getHeight()-getPadTop())/3); // nodeTableScroller.setPosition(5, 5); }
@Override public void draw(Batch batch, float parentAlpha) { super.draw(batch, parentAlpha); setDebug(false); tweenManager.update(Gdx.graphics.getDeltaTime()); }