fix clipping

This commit is contained in:
RandomityGuy 2022-12-22 00:20:58 +05:30
parent 53324b3d08
commit 133c783de0
2 changed files with 2 additions and 1 deletions

View file

@ -65,6 +65,7 @@ class EndGameGui extends GuiControl {
var nextLevelPreview = new GuiImage(tmpprevtile);
nextLevelPreview.position = new Vector(-15, 0);
nextLevelPreview.extent = new Vector(160, 110);
nextLevelPreview.doClipping = true;
nextLevel.addChild(nextLevelPreview);
mission.getNextMission().getPreviewImage(t -> {

View file

@ -16,7 +16,7 @@ class GuiImage extends GuiControl {
public var pressedAction:GuiEvent->Void = null;
public var doClipping:Bool = true;
public var doClipping:Bool = false;
public function new(texture:Tile) {
super();