Smoothly scrolling listboxes, items in the boxes can be partially visible
This commit is contained in:
@@ -105,6 +105,12 @@ namespace Barotrauma
|
||||
get { return NetworkMember as GameClient; }
|
||||
}
|
||||
|
||||
public static RasterizerState ScissorTestEnable
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Total seconds elapsed after startup
|
||||
/// </summary>
|
||||
@@ -179,6 +185,8 @@ namespace Barotrauma
|
||||
|
||||
CurrGraphicsDevice = GraphicsDevice;
|
||||
|
||||
ScissorTestEnable = new RasterizerState() { ScissorTestEnable = true };
|
||||
|
||||
Hyper.ComponentModel.HyperTypeDescriptionProvider.Add(typeof(Character));
|
||||
Hyper.ComponentModel.HyperTypeDescriptionProvider.Add(typeof(Item));
|
||||
Hyper.ComponentModel.HyperTypeDescriptionProvider.Add(typeof(Items.Components.ItemComponent));
|
||||
|
||||
Reference in New Issue
Block a user