Skip to content

Commit

Permalink
fix: DragDrop extensions should be on Control type..
Browse files Browse the repository at this point in the history
  • Loading branch information
JaggerJo committed Nov 25, 2024
1 parent f156f6e commit 46d44d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.FuncUI/DSL/DragDrop.fs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module DragDrop =
open Avalonia.FuncUI.Builder
open Avalonia.FuncUI.Types

type DragDrop with
type Control with

static member onDragEnter<'t when 't :> Control> (func: DragEventArgs -> unit, ?subPatchOptions) =
AttrBuilder<'t>.CreateSubscription<DragEventArgs>
Expand Down

0 comments on commit 46d44d8

Please sign in to comment.