mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-15 00:55:53 +08:00
fix display when moving mouse clicked
no more selection no highlight of jog/button
This commit is contained in:
parent
f44c98256d
commit
839fcb6eba
@ -8,6 +8,14 @@ cursor : pointer;
|
|||||||
.sliderrange{
|
.sliderrange{
|
||||||
cursor : pointer;
|
cursor : pointer;
|
||||||
}
|
}
|
||||||
|
body{
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-khtml-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</HEAD>
|
</HEAD>
|
||||||
<BODY>
|
<BODY>
|
||||||
@ -18,6 +26,7 @@ cursor : pointer;
|
|||||||
}
|
}
|
||||||
|
|
||||||
function changecolor(){
|
function changecolor(){
|
||||||
|
if (isDown)return;
|
||||||
var len = arguments.length;
|
var len = arguments.length;
|
||||||
if(len <2) return;
|
if(len <2) return;
|
||||||
var color = arguments[len-1];
|
var color = arguments[len-1];
|
||||||
@ -37,6 +46,7 @@ cursor : pointer;
|
|||||||
show_hide(e,0);
|
show_hide(e,0);
|
||||||
}
|
}
|
||||||
function settext_e(text,e){
|
function settext_e(text,e){
|
||||||
|
if (isDown)return;
|
||||||
show_hide(extruder,0);
|
show_hide(extruder,0);
|
||||||
centeretext.textContent=text;
|
centeretext.textContent=text;
|
||||||
show_hide(centeretext,1);
|
show_hide(centeretext,1);
|
||||||
@ -48,11 +58,13 @@ cursor : pointer;
|
|||||||
|
|
||||||
|
|
||||||
function settext_x(text,e){
|
function settext_x(text,e){
|
||||||
|
if (isDown)return;
|
||||||
centerxytext.textContent=text;
|
centerxytext.textContent=text;
|
||||||
show_hide(e,0.5)
|
show_hide(e,0.5)
|
||||||
}
|
}
|
||||||
|
|
||||||
function settext_z(text,e){
|
function settext_z(text,e){
|
||||||
|
if (isDown)return;
|
||||||
centerztext.textContent=text;
|
centerztext.textContent=text;
|
||||||
show_hide(e,0.5);
|
show_hide(e,0.5);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user