Skip to content

Commit

Permalink
Editor: quiet event OnItemsChanged,OnContextMenu is never used warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ericoporto committed Jan 5, 2025
1 parent bb3b65b commit d956285
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,13 @@ public abstract RoomAreaMaskType MaskToDraw
get;
}

// currently we don't raise these events at BaseAreasEditorFilter but we do raise for specific layers.
// this quiets the "event is never used" warning for both events below
#pragma warning disable 67
public event EventHandler OnItemsChanged;
public event EventHandler<SelectedRoomItemEventArgs> OnSelectedItemChanged;
public event EventHandler<RoomFilterContextMenuArgs> OnContextMenu;
#pragma warning restore 67
public event EventHandler<SelectedRoomItemEventArgs> OnSelectedItemChanged;

public abstract int ItemCount { get; }

Expand Down

0 comments on commit d956285

Please sign in to comment.