fix(ui): preserve cropped chat and button faces
This commit is contained in:
parent
d825572e31
commit
accacecafe
7 changed files with 168 additions and 8 deletions
|
|
@ -2221,6 +2221,12 @@ public sealed class GameWindow : IDisposable
|
|||
chatRoot.Width = contentW; chatRoot.Height = contentH;
|
||||
chatRoot.Anchors = AcDream.App.UI.AnchorEdges.Left | AcDream.App.UI.AnchorEdges.Top
|
||||
| AcDream.App.UI.AnchorEdges.Right | AcDream.App.UI.AnchorEdges.Bottom;
|
||||
// The LayoutDesc root is 800px wide because it shares the display
|
||||
// coordinate space with auxiliary/floaty chat elements. The docked
|
||||
// gmMainChatUI content is the left 490px. Rebase its immediate children
|
||||
// after that intentional crop so subsequent frame resizing grows the
|
||||
// transcript/input across the whole mounted interior.
|
||||
chatRoot.RebaseChildLayoutBaselines();
|
||||
chatRoot.Draggable = false; chatRoot.Resizable = false;
|
||||
chatFrame.AddChild(chatRoot);
|
||||
_uiHost.Root.AddChild(chatFrame);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue