Skip to content

Commit

Permalink
Fix alignment, cleanup logging
Browse files Browse the repository at this point in the history
  • Loading branch information
aMytho committed Feb 27, 2024
1 parent 3323d99 commit f92b9e1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Services/Tools/AttributeModifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public override void Run()
// Check the selection
if (!Selection.FoundSelection())
{
NotificationUtil.Inform(NotificationType.Warning, "The task " + this.Name + " did not find a selection. Cancelling Task");
NotificationUtil.Inform(NotificationType.Warning, $"The task {this.Name} did not find a selection. Cancelling Task");
return;
}
// Get the selection
Expand Down
3 changes: 0 additions & 3 deletions Services/Tools/Selection/AttributeSelection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ void CheckChildElement(TagTreePointer children)
return;
}

Console.WriteLine($"Checking into tag: {children.GetRole()}");

// Check the current child
if (CheckTag(children))
{
Expand All @@ -54,7 +52,6 @@ void CheckChildElement(TagTreePointer children)
// More kids to check
if (childKids != null && childKids.Count > 0)
{
Console.WriteLine($"The tag has kids: {childKids.Count}");
// Make a new pointer for the current tag
for (int i = 0; i < childKids.Count; i++)
{
Expand Down
2 changes: 1 addition & 1 deletion Shared/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>
<div class="py-2 px-3 w-full">
<NavLink class="flex text-white hover:text-slate-100 hover:!bg-slate-700 px-4 py-2 w-full rounded-lg items-center" href="tasks">
<span>Queued Tasks
<span class="self-center">Queued Tasks
</span>
@if (taskCounter != null)
{
Expand Down

0 comments on commit f92b9e1

Please sign in to comment.