From 66115cf3a31c9dfc005f6069dd206aade4d48428 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Wed, 25 Jan 2023 17:54:17 +0900 Subject: - Gui scale applied to discord stuff Signed-off-by: syeyoung --- .../impl/discord/onlinealarm/PlayingDGAlarm.java | 8 ++++---- .../gui/features/discordOnline/discordOnline.gui | 12 ++++++------ .../gui/features/discordOnline/discordOnlineList.gui | 1 + .../dungeonsguide/gui/features/discordParty/invite.gui | 16 +++++++--------- .../gui/features/discordParty/joinRequest.gui | 16 +++++++--------- .../gui/features/discordParty/partyInviteList.gui | 1 + 6 files changed, 26 insertions(+), 28 deletions(-) (limited to 'mod') diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/discord/onlinealarm/PlayingDGAlarm.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/discord/onlinealarm/PlayingDGAlarm.java index 85784814..20edfc77 100644 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/discord/onlinealarm/PlayingDGAlarm.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/discord/onlinealarm/PlayingDGAlarm.java @@ -64,10 +64,10 @@ public class PlayingDGAlarm extends AbstractGuiFeature { public boolean isDisplayable(JDiscordRelation jDiscordRelation) { JDiscordRelation.DiscordRelationType relationshipType = jDiscordRelation.getRelationType(); -// if (relationshipType == JDiscordRelation.DiscordRelationType.Blocked) return false; -// if (relationshipType == JDiscordRelation.DiscordRelationType.None) return false; -// if (relationshipType == JDiscordRelation.DiscordRelationType.PendingIncoming) return false; -// if (relationshipType == JDiscordRelation.DiscordRelationType.PendingOutgoing) return false; + if (relationshipType == JDiscordRelation.DiscordRelationType.Blocked) return false; + if (relationshipType == JDiscordRelation.DiscordRelationType.None) return false; + if (relationshipType == JDiscordRelation.DiscordRelationType.PendingIncoming) return false; + if (relationshipType == JDiscordRelation.DiscordRelationType.PendingOutgoing) return false; if (relationshipType != JDiscordRelation.DiscordRelationType.Friend) return false; return "816298079732498473".equals(jDiscordRelation.getApplicationId()); diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/features/discordOnline/discordOnline.gui b/mod/src/main/resources/assets/dungeonsguide/gui/features/discordOnline/discordOnline.gui index 1b2bda6b..6553db30 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/features/discordOnline/discordOnline.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/features/discordOnline/discordOnline.gui @@ -16,31 +16,31 @@ ~ along with this program. If not, see . --> - + - + - + - + - + - + diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/features/discordOnline/discordOnlineList.gui b/mod/src/main/resources/assets/dungeonsguide/gui/features/discordOnline/discordOnlineList.gui index 3ab3e7f8..8bd99959 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/features/discordOnline/discordOnlineList.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/features/discordOnline/discordOnlineList.gui @@ -18,5 +18,6 @@ + diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/features/discordParty/invite.gui b/mod/src/main/resources/assets/dungeonsguide/gui/features/discordParty/invite.gui index 757e9bf0..748a4096 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/features/discordParty/invite.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/features/discordParty/invite.gui @@ -16,33 +16,32 @@ ~ along with this program. If not, see . --> - + - + - + - + - + - - - + + @@ -76,7 +75,6 @@ - diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/features/discordParty/joinRequest.gui b/mod/src/main/resources/assets/dungeonsguide/gui/features/discordParty/joinRequest.gui index 1640b705..adfab373 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/features/discordParty/joinRequest.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/features/discordParty/joinRequest.gui @@ -16,33 +16,32 @@ ~ along with this program. If not, see . --> - + - + - + - + - + - - - + + @@ -89,7 +88,6 @@ - diff --git a/mod/src/main/resources/assets/dungeonsguide/gui/features/discordParty/partyInviteList.gui b/mod/src/main/resources/assets/dungeonsguide/gui/features/discordParty/partyInviteList.gui index 0d1d2590..d6a3c1b5 100644 --- a/mod/src/main/resources/assets/dungeonsguide/gui/features/discordParty/partyInviteList.gui +++ b/mod/src/main/resources/assets/dungeonsguide/gui/features/discordParty/partyInviteList.gui @@ -18,5 +18,6 @@ + -- cgit