From 910d26c00d262867b20e00e8ead11626bf773233 Mon Sep 17 00:00:00 2001
From: estrogen elf <87099578+BlossomiShymae@users.noreply.github.com>
Date: Tue, 17 Jun 2025 11:51:08 -0500
Subject: [PATCH] refactor: remove control cache to fix bugs
---
Needlework.Net/Needlework.Net.csproj | 1 -
Needlework.Net/ViewLocator.cs | 53 +---------------------------
2 files changed, 1 insertion(+), 53 deletions(-)
diff --git a/Needlework.Net/Needlework.Net.csproj b/Needlework.Net/Needlework.Net.csproj
index 0da5007..7cde83f 100644
--- a/Needlework.Net/Needlework.Net.csproj
+++ b/Needlework.Net/Needlework.Net.csproj
@@ -27,7 +27,6 @@
-
diff --git a/Needlework.Net/ViewLocator.cs b/Needlework.Net/ViewLocator.cs
index 8160fac..4ec4716 100644
--- a/Needlework.Net/ViewLocator.cs
+++ b/Needlework.Net/ViewLocator.cs
@@ -1,60 +1,15 @@
using Avalonia.Controls;
using Avalonia.Controls.Templates;
-using Avalonia.VisualTree;
-using BitFaster.Caching;
-using BitFaster.Caching.Lru;
using System;
using System.Collections.Generic;
using System.ComponentModel;
-using System.Diagnostics.CodeAnalysis;
namespace Needlework.Net
{
public class ViewLocator : IDataTemplate
{
- private class ObjectComparer : IEqualityComparer