mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-24 20:34:29 +08:00
fix(events): 修正优先级事件触发传播行为
- 将优先级事件的传播模式从 Continue 修改为 All - 确保事件能够正确传递到所有监听器
This commit is contained in:
parent
5ef464c484
commit
c5bd08acfd
@ -83,7 +83,7 @@ internal sealed class StatisticsEventDecorator<T>
|
|||||||
}
|
}
|
||||||
else if (_innerEvent is PriorityEvent<T> priorityEvent)
|
else if (_innerEvent is PriorityEvent<T> priorityEvent)
|
||||||
{
|
{
|
||||||
priorityEvent.Trigger(data, EventPropagation.Continue);
|
priorityEvent.Trigger(data, EventPropagation.All);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user