fixup! JBR-6324: JBR API for System Shortcuts (macOS)

This commit is contained in:
Nikita Tsarev
2024-10-11 16:10:54 +02:00
parent 82999dc986
commit ceda379d69

View File

@@ -84,6 +84,17 @@ public class JBRSystemShortcutsMacOS {
public int hashCode() {
return Objects.hash(keyCode, keyChar, modifiers, id, description);
}
@Override
public String toString() {
return "Shortcut{" +
"keyCode=" + keyCode +
", keyChar=" + (int)keyChar +
", modifiers=" + modifiers +
", id='" + id + '\'' +
", description='" + description + '\'' +
'}';
}
}
@JBRApi.Provided("SystemShortcuts.ChangeEventListener")
@@ -100,7 +111,7 @@ public class JBRSystemShortcutsMacOS {
hotkey.getKeyCode(),
hotkey.getKeyChar(),
hotkey.getModifiers(),
hotkey.getDescription(),
hotkey.getId(),
hotkey.getDescription()
);
}