diff --git a/package.json b/package.json index fbc9bfe..c702078 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "yt-defaulter", "author": "GooseOb", - "version": "1.11.0", + "version": "1.11.1", "repository": { "type": "git", "url": "git+https://github.com/GooseOb/YT-Defaulter.git" diff --git a/src/menu/get-controls-creators.ts b/src/menu/get-controls-creators.ts index b28f2b1..9769f56 100644 --- a/src/menu/get-controls-creators.ts +++ b/src/menu/get-controls-creators.ts @@ -16,8 +16,7 @@ type GetControlCreator = < export const getControlCreators = (getCreator: GetControlCreator) => ({ numericInput: getCreator( - (props?: Props) => - input(Object.assign({ type: 'number' }, props)), + (props?: Props) => input({ type: 'number', ...props }), (elem) => ({ get: () => elem.value, set: (value) => {