Adjust minimum stroke distance for joy animation in animeCat.js
This commit is contained in:
@@ -170,7 +170,7 @@ _bindMouseHold() {
|
|||||||
|
|
||||||
// Timer für Joy-Animation, aber NUR wenn genug gestreichelt
|
// Timer für Joy-Animation, aber NUR wenn genug gestreichelt
|
||||||
holdTimer = setTimeout(() => {
|
holdTimer = setTimeout(() => {
|
||||||
if (moveDist >= 100) { // mind. 100px gestreichelt!
|
if (moveDist >= 75) { // mind. 75px gestreichelt!
|
||||||
joyActive = true;
|
joyActive = true;
|
||||||
this._runJoyAnimation(() => {
|
this._runJoyAnimation(() => {
|
||||||
joyActive = false;
|
joyActive = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user