Fixing CI
This commit is contained in:
@@ -38,11 +38,7 @@ export class HdpiManager {
|
||||
|
||||
let i = 1;
|
||||
|
||||
while (true) {
|
||||
if (realPixelNumber <= this.minRecommendedGamePixelsNumber * i * i) {
|
||||
break;
|
||||
}
|
||||
|
||||
while (realPixelNumber > this.minRecommendedGamePixelsNumber * i * i) {
|
||||
i++;
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ class WaScaleManager {
|
||||
const style = this.scaleManager.canvas.style;
|
||||
style.width = Math.ceil(realSize.width / devicePixelRatio) + 'px';
|
||||
style.height = Math.ceil(realSize.height / devicePixelRatio) + 'px';
|
||||
};
|
||||
}
|
||||
|
||||
public get zoomModifier(): number {
|
||||
return this.hdpiManager.zoomModifier;
|
||||
|
||||
Reference in New Issue
Block a user