mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-10 18:14:36 +01:00
tweak notification ux
* Swap the "up" and "down" arrows to make more sense * Toggle collapse state when clicking, instead of dismissing
This commit is contained in:
parent
bc0bea03e0
commit
c926a13848
1 changed files with 3 additions and 3 deletions
|
|
@ -124,7 +124,7 @@ internal sealed partial class ActiveNotification
|
|||
if (this.Click is null)
|
||||
{
|
||||
if (this.UserDismissable && ImGui.IsMouseClicked(ImGuiMouseButton.Left))
|
||||
this.DismissNow(NotificationDismissReason.Manual);
|
||||
this.Minimized = !this.Minimized;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -277,12 +277,12 @@ internal sealed partial class ActiveNotification
|
|||
|
||||
if (this.underlyingNotification.Minimized)
|
||||
{
|
||||
if (this.DrawIconButton(FontAwesomeIcon.ChevronDown, rtOffset, height, drawActionButtons))
|
||||
if (this.DrawIconButton(FontAwesomeIcon.ChevronUp, rtOffset, height, drawActionButtons))
|
||||
this.Minimized = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.DrawIconButton(FontAwesomeIcon.ChevronUp, rtOffset, height, drawActionButtons))
|
||||
if (this.DrawIconButton(FontAwesomeIcon.ChevronDown, rtOffset, height, drawActionButtons))
|
||||
this.Minimized = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue