Fixed vote count text overlapping with the submarine preview button in NetLobbyScreen
This commit is contained in:
@@ -10,27 +10,24 @@ namespace Barotrauma
|
||||
{
|
||||
class CharacterEditorScreen : Screen
|
||||
{
|
||||
Camera cam;
|
||||
private Camera cam;
|
||||
|
||||
GUIComponent GUIpanel;
|
||||
GUIButton physicsButton;
|
||||
private GUIComponent GUIpanel;
|
||||
private GUIButton physicsButton;
|
||||
|
||||
GUIListBox limbList, jointList;
|
||||
private GUIListBox limbList, jointList;
|
||||
|
||||
GUIFrame limbPanel;
|
||||
|
||||
Character editingCharacter;
|
||||
Limb editingLimb;
|
||||
//RevoluteJoint editingJoint;
|
||||
private GUIFrame limbPanel;
|
||||
|
||||
private Character editingCharacter;
|
||||
private Limb editingLimb;
|
||||
|
||||
|
||||
List<Texture2D> textures;
|
||||
List<string> texturePaths;
|
||||
private List<Texture2D> textures;
|
||||
private List<string> texturePaths;
|
||||
|
||||
private bool physicsEnabled;
|
||||
|
||||
public Camera Cam
|
||||
public override Camera Cam
|
||||
{
|
||||
get { return cam; }
|
||||
}
|
||||
@@ -99,6 +96,8 @@ namespace Barotrauma
|
||||
{
|
||||
cam.MoveCamera((float)deltaTime);
|
||||
|
||||
GUIpanel.Update((float)deltaTime);
|
||||
|
||||
if (physicsEnabled)
|
||||
{
|
||||
Character.UpdateAnimAll((float)deltaTime);
|
||||
@@ -109,6 +108,11 @@ namespace Barotrauma
|
||||
}
|
||||
}
|
||||
|
||||
public override void AddToGUIUpdateList()
|
||||
{
|
||||
GUIpanel.AddToGUIUpdateList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is called when the game should draw itself.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user