mirror of
https://github.com/AkiChase/scrcpy-mask
synced 2025-02-22 23:12:16 +08:00
feat(KeySetting): add import tip
This commit is contained in:
parent
4d0aec2c54
commit
fd0f95e54d
@ -122,6 +122,12 @@ function dragHandler(downEvent: MouseEvent) {
|
||||
keyboardStore.activeButtonIndex = -1;
|
||||
keyboardStore.activeSteeringWheelButtonKeyIndex = -1;
|
||||
keyboardStore.showSettingFlag = !keyboardStore.showSettingFlag;
|
||||
if (
|
||||
keyboardStore.showSettingFlag &&
|
||||
store.keyMappingConfigList.length === 1
|
||||
) {
|
||||
message.info("当前仅有一个按键方案,点击导入默认,可导入预设方案");
|
||||
}
|
||||
}
|
||||
};
|
||||
window.addEventListener("mouseup", upHandler);
|
||||
|
Loading…
Reference in New Issue
Block a user