don't apply propScales when overlaying

This commit is contained in:
2023-06-07 11:23:01 -06:00
parent 0cd821fa18
commit 72e42790ae

View File

@@ -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))