Example #1
0
        private void deleteRequested(CarouselItem item)
        {
            var name = item.LevelName;

            LevelStorage.DeleteLevel(name);
            notifications.Push($"{name} level has been deleted!", NotificationState.Good);
            selectFirst();
            item.Expire();
        }
Example #2
0
        private void onSelection(CarouselItem item)
        {
            Current.Value = item;

            flow.Children.ForEach(i =>
            {
                if (i != item)
                {
                    i.Deselect();
                }
            });
        }
Example #3
0
 private void editRequested(CarouselItem item)
 {
     OnEdit?.Invoke(item);
 }