don't apply propScales when overlaying
This commit is contained in:
@@ -202,9 +202,9 @@
|
||||
(dictSet shownProps propKey true) // Don't scale when showing
|
||||
(withProp propKey p
|
||||
(withSceneSetCC sceneKey bg
|
||||
(addProp propKey (new StagePosition bg.x bg.y 1) cc)
|
||||
(p.setGraphicSize (Std.int bg.width) (Std.int bg.height))
|
||||
(p.updateHitbox)
|
||||
(addProp propKey (new StagePosition bg.x bg.y 1) cc)))))
|
||||
(p.updateHitbox)))))
|
||||
|
||||
(method loadSkySprite [time path &opt :Void->Void cc]
|
||||
(dictSet flxDirector.skySprites time (.loadGraphic (new FlxSprite) path))
|
||||
|
Reference in New Issue
Block a user