Giter Site home page Giter Site logo

Comments (5)

greggman avatar greggman commented on June 13, 2024

Try this.

sudo nano /Applications/HappyFunTimes.app/Contents/hft/public/css/controllers.css 

Look for

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

delete the cursor: pointer; line. Go to the beginning of the line and press Ctrl-K

Then press Ctrl-X, Y, Enter to exit nano and save. Does that help?

That's the only thing I can think of so far. I noticed the screen is changing color when you press the buttons. It turns out that cursor: pointer setting was making that happen. Otherwise I don't see any lag or stickyness on my Nexus 5 nor my cheap crappy Huawei Prism II.

I'm on Chrome 45.0.2454.84 on my Android devices

If that fixes the problem I'll put up a new version

from happyfuntimes.

huika avatar huika commented on June 13, 2024

I´ve noticed a behavior that might help handle this problem.
The button only get stuck if it is pressed and released without a small amount of movement on the finger position.
If you keep the button pressed and move the finger inside the button area, and only then remove the finger, it aways identify its removal and the button correctly gets released.

Update:
As far I´ve discovered, removing the handleButtonEnter addPointerId function call (touch.js) avoid the buttons from getting stuck, but obviously it also removes the possibility of touching a button with a finger that moved inside it´s area.

from happyfuntimes.

greggman avatar greggman commented on June 13, 2024

Hey there. Sorry you're running into so much trouble. Are you seeing this on both iOS and Android or just one or something else?

I'll try again in Android

from happyfuntimes.

huika avatar huika commented on June 13, 2024

Hi there! No problem at all, HFT is amazing :)
I'm only getting this problem on android samsung s4 mini, it's not happening on my iPad retina display, I didn't tested on iPhone.
I bet that somehow both buttonEnter and ButtonPressed/down are feeding the finger index at the same time, and the button end up considering it's being pressed by two different fingers, but I have no idea how this could happend, as I see you check if the finger index is already used.
Thanks a LOT for this amazing project :)))

from happyfuntimes.

greggman avatar greggman commented on June 13, 2024

Can you try installing version 0.0.46?

http://superhappyfuntimes.net/install

from happyfuntimes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.