Update content vectors to numerics (#17759)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using Content.Client.Examine;
|
||||
using Content.Client.Strip;
|
||||
using Content.Client.Stylesheets;
|
||||
@@ -139,14 +140,14 @@ namespace Content.Client.Inventory
|
||||
|
||||
// TODO fix layout container measuring (its broken atm).
|
||||
// _strippingMenu.InvalidateMeasure();
|
||||
// _strippingMenu.Contents.Measure(Vector2.Infinity);
|
||||
// _strippingMenu.Contents.Measure(Vector2Helpers.Infinity);
|
||||
|
||||
// TODO allow windows to resize based on content's desired size
|
||||
|
||||
// for now: shit-code
|
||||
// this breaks for drones (too many hands, lots of empty vertical space), and looks shit for monkeys and the like.
|
||||
// but the window is realizable, so eh.
|
||||
_strippingMenu.SetSize = (220, snare?.IsEnsnared == true ? 550 : 530);
|
||||
_strippingMenu.SetSize = new Vector2(220, snare?.IsEnsnared == true ? 550 : 530);
|
||||
}
|
||||
|
||||
private void AddHandButton(Hand hand)
|
||||
|
||||
Reference in New Issue
Block a user