(index int, effect WidgetGraphicsEffect)
| 242 | } |
| 243 | |
| 244 | func (l *WidgetGraphicsEffectList) insertIntoSlice(index int, effect WidgetGraphicsEffect) { |
| 245 | l.items = append(l.items, nil) |
| 246 | copy(l.items[index+1:], l.items[index:]) |
| 247 | l.items[index] = effect |
| 248 | } |
| 249 | |
| 250 | func (l *WidgetGraphicsEffectList) Insert(index int, effect WidgetGraphicsEffect) error { |
| 251 | observer := l.observer |