Skip to content

Commit 7132ccf

Browse files
committed
remove the imgui notifications on command toggle
1 parent 5d37e59 commit 7132ccf

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

PositionalGuide/Plugin.cs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -441,23 +441,23 @@ internal void OnPluginCommand(string command, string arguments) {
441441
break;
442442
case "tether":
443443
this.Config.DrawTetherLine = state ?? !this.Config.DrawTetherLine;
444-
Notifications.AddNotification(new() {
445-
Title = Name,
446-
Content = $"Tether rendering {(this.Config.DrawTetherLine ? "enabled" : "disabled")}",
447-
Type = NotificationType.Info,
448-
Minimized = true,
449-
MinimizedText = $"Tethers {(this.Config.DrawTetherLine ? "on" : "off")}",
450-
});
444+
//Notifications.AddNotification(new() {
445+
// Title = Name,
446+
// Content = $"Tether rendering {(this.Config.DrawTetherLine ? "enabled" : "disabled")}",
447+
// Type = NotificationType.Info,
448+
// Minimized = true,
449+
// MinimizedText = $"Tethers {(this.Config.DrawTetherLine ? "on" : "off")}",
450+
//});
451451
break;
452452
case "render":
453453
this.Config.Enabled = state ?? !this.Config.Enabled;
454-
Notifications.AddNotification(new() {
455-
Title = Name,
456-
Content = $"Guide rendering {(this.Config.DrawTetherLine ? "enabled" : "disabled")}",
457-
Type = NotificationType.Info,
458-
Minimized = true,
459-
MinimizedText = $"Guides {(this.Config.DrawTetherLine ? "on" : "off")}",
460-
});
454+
//Notifications.AddNotification(new() {
455+
// Title = Name,
456+
// Content = $"Guide rendering {(this.Config.DrawTetherLine ? "enabled" : "disabled")}",
457+
// Type = NotificationType.Info,
458+
// Minimized = true,
459+
// MinimizedText = $"Guides {(this.Config.DrawTetherLine ? "on" : "off")}",
460+
//});
461461
break;
462462
default:
463463
Chat.PrintError($"Unknown target '{args[1]}'");

0 commit comments

Comments
 (0)