diff --git a/Editor/AGS.Editor/Panes/Room/RoomEditFilters/BaseAreasEditorFilter.cs b/Editor/AGS.Editor/Panes/Room/RoomEditFilters/BaseAreasEditorFilter.cs index fb70dc990aa..3ce30256a86 100644 --- a/Editor/AGS.Editor/Panes/Room/RoomEditFilters/BaseAreasEditorFilter.cs +++ b/Editor/AGS.Editor/Panes/Room/RoomEditFilters/BaseAreasEditorFilter.cs @@ -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 OnSelectedItemChanged; public event EventHandler OnContextMenu; +#pragma warning restore 67 + public event EventHandler OnSelectedItemChanged; public abstract int ItemCount { get; }