Multi-Platform Package Manager for Stable Diffusion
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using Avalonia.Input;
|
|
|
|
|
|
|
|
namespace StabilityMatrix.Avalonia.Controls;
|
|
|
|
|
|
|
|
public class ImageFolderCard : DropTargetTemplatedControlBase
|
|
|
|
{
|
|
|
|
/// <inheritdoc />
|
|
|
|
protected override void DropHandler(object? sender, DragEventArgs e)
|
|
|
|
{
|
|
|
|
base.DropHandler(sender, e);
|
|
|
|
e.Handled = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
protected override void DragOverHandler(object? sender, DragEventArgs e)
|
|
|
|
{
|
|
|
|
base.DragOverHandler(sender, e);
|
|
|
|
e.Handled = true;
|
|
|
|
}
|
|
|
|
}
|