Smoothly scrolling listboxes, items in the boxes can be partially visible

This commit is contained in:
Regalis
2017-04-30 17:57:01 +03:00
parent d1d8284b94
commit eddc33dc89
10 changed files with 47 additions and 77 deletions

View File

@@ -499,8 +499,8 @@ namespace Barotrauma
GameMain.TitleScreen.Draw(spriteBatch, graphics, (float)deltaTime);
//Game1.GameScreen.DrawMap(graphics, spriteBatch);
spriteBatch.Begin(0, BlendState.AlphaBlend);
spriteBatch.Begin(SpriteSortMode.Immediate, null, null, null, GameMain.ScissorTestEnable);
buttonsTab.Draw(spriteBatch);
if (selectedTab>0) menuTabs[(int)selectedTab].Draw(spriteBatch);