Fix cooldown circles not being centered.
This commit is contained in:
@@ -122,6 +122,8 @@ namespace Content.Client.UserInterface
|
|||||||
// Cooldown circles.
|
// Cooldown circles.
|
||||||
_leftContainer.AddChild(CooldownCircleLeft = new TextureRect
|
_leftContainer.AddChild(CooldownCircleLeft = new TextureRect
|
||||||
{
|
{
|
||||||
|
SizeFlagsHorizontal = SizeFlags.ShrinkCenter,
|
||||||
|
SizeFlagsVertical = SizeFlags.ShrinkCenter,
|
||||||
MouseFilter = MouseFilterMode.Ignore,
|
MouseFilter = MouseFilterMode.Ignore,
|
||||||
TextureScale = (2, 2),
|
TextureScale = (2, 2),
|
||||||
Visible = false,
|
Visible = false,
|
||||||
@@ -129,6 +131,8 @@ namespace Content.Client.UserInterface
|
|||||||
|
|
||||||
_rightContainer.AddChild(CooldownCircleRight = new TextureRect
|
_rightContainer.AddChild(CooldownCircleRight = new TextureRect
|
||||||
{
|
{
|
||||||
|
SizeFlagsHorizontal = SizeFlags.ShrinkCenter,
|
||||||
|
SizeFlagsVertical = SizeFlags.ShrinkCenter,
|
||||||
MouseFilter = MouseFilterMode.Ignore,
|
MouseFilter = MouseFilterMode.Ignore,
|
||||||
TextureScale = (2, 2),
|
TextureScale = (2, 2),
|
||||||
Visible = false
|
Visible = false
|
||||||
|
|||||||
Reference in New Issue
Block a user