Small live preview screen fix (#86)
This should prevent live preview screen from crashing the editor when minimized
This commit is contained in:
@@ -102,6 +102,7 @@ public class LivePreviewScreen extends ScreenAdapter implements GestureDetector.
|
||||
|
||||
@Override
|
||||
public void resize(int width, int height) {
|
||||
if (width == 0 || height == 0) return;
|
||||
super.resize(width, height);
|
||||
sceneLoader.resize(width, height);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user