mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-22 10:55:19 -04:00
Actually activated the previous fix.
This commit is contained in:
parent
8df779b5a3
commit
00245c69ec
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ module.exports = Surface = class Surface extends CocoClass
|
|||
newHeight = newWidth / aspectRatio
|
||||
return unless newWidth > 0 and newHeight > 0
|
||||
return if newWidth is oldWidth and newHeight is oldHeight and not @options.spectateGame
|
||||
#return if newWidth < 200 or newHeight < 200
|
||||
return if newWidth < 200 or newHeight < 200
|
||||
#scaleFactor = if application.isIPadApp then 2 else 1 # Retina
|
||||
scaleFactor = 1
|
||||
@normalCanvas.add(@webGLCanvas).attr width: newWidth * scaleFactor, height: newHeight * scaleFactor
|
||||
|
|
Loading…
Reference in a new issue