Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Assets/Plugins/UIToolkit/UIElements/UISlice9.cs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public UISlice9( UIToolkit manager, Rect frame, int depth, UIUVRect uvFrame, UIU
manager.addSprite( spriteSlices[3] );

// Middle Middle
spriteSlices[4] = new UISprite( new Rect( frame.x + sLT, frame.y + sTP, stretchedWidth, stretchedHeight ), depth, new UIUVRect( uvFrame.frame.x + sLT, uvFrame.frame.y + sTP, uvFrame.frame.height - ( sTP + sBT ), (int)frame.width - ( sLT + sRT ), manager.textureSize ) );
spriteSlices[4] = new UISprite( new Rect( frame.x + sLT, frame.y + sTP, stretchedWidth, stretchedHeight ), depth, new UIUVRect( uvFrame.frame.x + sLT, uvFrame.frame.y + sTP, uvFrame.frame.width - ( sLT + sRT ), uvFrame.frame.height - ( sBT + sTP ), manager.textureSize ) );
spriteSlices[4].client.transform.parent = this.client.transform;
manager.addSprite( spriteSlices[4] );

Expand Down Expand Up @@ -385,4 +385,4 @@ public override void transformChanged()
}
}

}
}