|
@@ -553,6 +553,8 @@ class UINumber extends UIElement {
|
|
|
|
|
|
function onMouseDown( event ) {
|
|
|
|
|
|
+ if ( document.activeElement === scope.dom ) return;
|
|
|
+
|
|
|
event.preventDefault();
|
|
|
|
|
|
distance = 0;
|
|
@@ -821,6 +823,8 @@ class UIInteger extends UIElement {
|
|
|
|
|
|
function onMouseDown( event ) {
|
|
|
|
|
|
+ if ( document.activeElement === scope.dom ) return;
|
|
|
+
|
|
|
event.preventDefault();
|
|
|
|
|
|
distance = 0;
|