mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
Default attributes warning
This commit is contained in:
@@ -15,6 +15,11 @@ export default class KeyBindingEntity extends IEntity {
|
||||
}
|
||||
|
||||
constructor(options = {}) {
|
||||
options.ActionName = options.ActionName ?? ""
|
||||
options.bShift = options.bShift ?? false
|
||||
options.bCtrl = options.bCtrl ?? false
|
||||
options.bAlt = options.bAlt ?? false
|
||||
options.bCmd = options.bCmd ?? false
|
||||
super(options)
|
||||
/** @type {String} */ this.ActionName
|
||||
/** @type {Boolean} */ this.bShift
|
||||
|
||||
Reference in New Issue
Block a user