You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Added lastOsdType tracking in OsdPanel to store the most recent OSD
type
2. Modified displaymode, kblayout and windoweffect OSD handlers to only
perform actions if the current OSD type matches the last one
3. This prevents duplicate actions when multiple OSD events of same type
are triggered in quick succession
4. Added updateLastOsdType method to track and clear the last OSD type
when hiding
fix: 防止相同类型OSD的重复操作
1. 在OsdPanel中添加lastOsdType跟踪最近显示的OSD类型
2. 修改了displaymode、kblayout和windoweffect的OSD处理逻辑,仅在当前OSD类
型与最后一次相同时才执行操作
3. 防止在快速连续触发相同类型OSD事件时重复执行操作
4. 添加updateLastOsdType方法来跟踪并在隐藏时清除最后OSD类型
0 commit comments