Closed AYOKINYA closed 1 year ago
Is your feature request related to a problem? Please describe.
I tried to reduce stickSize, but soon found out stickSize isn't customizable but only dependent on baseSize.
const stickSize = `${this._baseSize / 1.5}px`;
Describe the solution you'd like
I'd be possible to adjust stickSize if it's passed as a prop to the joystick component, just as the size prop.
ex)
<Joystick size={100} stickSize={10} />
Describe alternatives you've considered
Additional context
This joystick component would be more flexible if users can handle more style properties on the stick and base.
:tada: This issue has been resolved in version 4.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Is your feature request related to a problem? Please describe.
I tried to reduce stickSize, but soon found out stickSize isn't customizable but only dependent on baseSize.
Describe the solution you'd like
I'd be possible to adjust stickSize if it's passed as a prop to the joystick component, just as the size prop.
ex)
Describe alternatives you've considered
Additional context
This joystick component would be more flexible if users can handle more style properties on the stick and base.