mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
Keep rendering title bar buttons if one is not available clickthrough
This commit is contained in:
parent
d0110f7251
commit
5d08170333
1 changed files with 1 additions and 1 deletions
|
|
@ -864,7 +864,7 @@ public abstract class Window
|
||||||
foreach (var button in this.allButtons)
|
foreach (var button in this.allButtons)
|
||||||
{
|
{
|
||||||
if (this.internalIsClickthrough && !button.AvailableClickthrough)
|
if (this.internalIsClickthrough && !button.AvailableClickthrough)
|
||||||
return;
|
continue;
|
||||||
|
|
||||||
Vector2 position = new(titleBarRect.Max.X - padR - buttonSize, titleBarRect.Min.Y + style.FramePadding.Y);
|
Vector2 position = new(titleBarRect.Max.X - padR - buttonSize, titleBarRect.Min.Y + style.FramePadding.Y);
|
||||||
padR += buttonSize + style.ItemInnerSpacing.X;
|
padR += buttonSize + style.ItemInnerSpacing.X;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue