Comparing version 0.7.0 to 0.7.1
@@ -0,1 +1,4 @@ | ||
# 0.7.1 | ||
* Fix scrollbars in text tool appearing when they should not (mostly in Chrome). | ||
# 0.7.0 | ||
@@ -2,0 +5,0 @@ * Text tool |
@@ -42,2 +42,3 @@ import Color4 from '../Color4'; | ||
white-space: pre; | ||
overflow: hidden; | ||
@@ -126,2 +127,4 @@ padding: 0; | ||
this.updateTextInput(); | ||
// Update the input size/position/etc. after the placeHolder has had time to appear. | ||
setTimeout(() => this.updateTextInput(), 0); | ||
this.textInputElem.oninput = () => { | ||
@@ -128,0 +131,0 @@ if (this.textInputElem) { |
{ | ||
"name": "js-draw", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript. ", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/lib.d.ts", |
@@ -50,2 +50,3 @@ import Color4 from '../Color4'; | ||
white-space: pre; | ||
overflow: hidden; | ||
@@ -156,2 +157,5 @@ padding: 0; | ||
// Update the input size/position/etc. after the placeHolder has had time to appear. | ||
setTimeout(() => this.updateTextInput(), 0); | ||
this.textInputElem.oninput = () => { | ||
@@ -158,0 +162,0 @@ if (this.textInputElem) { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1314906
26878