We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When resizing the input scaled correctly but the "select" box to focus stays relative to the original canvas width.
Something like this fixes it . 1359 - 1362
var self = this, relativeX = self._ctx.canvas ? self._x / ( self._ctx.canvas.width / self._ctx.canvas.offsetWidth) : self._x, relativeY = self._ctx.canvas ? self._y / ( self._ctx.canvas.height / self._ctx.canvas.offsetHeight) : self._y, xLeft = x >= relativeX + self._extraX, xRight = x <= relativeX + self._extraX + self._width + self._padding * 2, yTop = y >= relativeY + self._extraY, yBottom = y <= relativeY + self._extraY + self._height + self._padding * 2;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When resizing the input scaled correctly but the "select" box to focus stays relative to the original canvas width.
Something like this fixes it . 1359 - 1362
The text was updated successfully, but these errors were encountered: