Merged versions for PixiJS 4 and 5.
This commit is contained in:
Vendored
+40480
-42090
File diff suppressed because it is too large
Load Diff
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+8
-3
@@ -3796,7 +3796,8 @@
|
||||
resolution,
|
||||
autoResize,
|
||||
backgroundColor,
|
||||
forceCanvas
|
||||
forceCanvas,
|
||||
roundPixels // not needed for PixiJS >= 5
|
||||
});
|
||||
|
||||
this.width = width;
|
||||
@@ -3808,8 +3809,12 @@
|
||||
this.orient = null;
|
||||
this.originalMapPositionToPoint = null;
|
||||
this.monkeyPatchMapping = monkeyPatchMapping;
|
||||
PIXI.settings.ROUND_PIXELS = roundPixels;
|
||||
PIXI.GRAPHICS_CURVES.adaptive = adaptive;
|
||||
if (parseInt(PIXI.VERSION) >= 5) {
|
||||
PIXI.settings.ROUND_PIXELS = roundPixels;
|
||||
PIXI.GRAPHICS_CURVES.adaptive = adaptive;
|
||||
} else {
|
||||
PIXI.Graphics.CURVES.adaptive = adaptive;
|
||||
}
|
||||
this.graphql = graphql;
|
||||
if (fullScreen || autoResize) {
|
||||
console.log('App is in fullScreen mode or autoResize mode');
|
||||
|
||||
Reference in New Issue
Block a user