mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix clipping
This commit is contained in:
parent
53324b3d08
commit
133c783de0
2 changed files with 2 additions and 1 deletions
|
|
@ -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 -> {
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue