Удалены лишние сервисы
This commit is contained in:
@@ -21,10 +21,8 @@ public sealed record ClipboardFragment(int Width, int Height, RgbaColor[] Pixels
|
||||
public partial class EditorViewModel : ViewModelBase
|
||||
{
|
||||
private readonly ICompositor _compositor = new Compositor();
|
||||
private readonly IPaletteService _paletteService = new PaletteService();
|
||||
private readonly IDrawingService _drawingService = new DrawingService();
|
||||
private readonly IFloodFillService _floodFillService = new FloodFillService();
|
||||
private readonly IFragmentService _fragmentService = new FragmentService();
|
||||
|
||||
[ObservableProperty]
|
||||
[NotifyPropertyChangedFor(nameof(HasContainer))]
|
||||
@@ -740,7 +738,5 @@ public partial class EditorViewModel : ViewModelBase
|
||||
#endregion
|
||||
|
||||
public ICompositor Compositor => _compositor;
|
||||
public IPaletteService PaletteService => _paletteService;
|
||||
public IDrawingService DrawingService => _drawingService;
|
||||
public IFragmentService FragmentService => _fragmentService;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user