Giter Club home page Giter Club logo

Comments (5)

Kruptein avatar Kruptein commented on July 22, 2024

Hm curious I don't have this behaviour on my end on that same commit.

Is there anything appearing in the browser or server console?

from planarally.

rexy712 avatar rexy712 commented on July 22, 2024

I checked the server logs and there are no errors on that end.

The browser console shows this error when releasing the left click button on square grid:

vue.esm-browser.prod.js:6 TypeError: Cannot read properties of undefined (reading 'x')
    at Vu (Game-3HCm_-Hf.js:2:7257)
    at Yu (Game-3HCm_-Hf.js:2:6654)
    at Wa.resizeToGrid (Game-3HCm_-Hf.js:4:75526)
    at UM.onUp (Game-3HCm_-Hf.js:5:77016)
    at UM.onMouseUp (Game-3HCm_-Hf.js:5:63064)
    at Proxy.QT (Game-3HCm_-Hf.js:5:137066)
    at C.onMouseup.e.<computed>.e.<computed> (Game-3HCm_-Hf.js:83:230955)
    at on (vue.esm-browser.prod.js:6:17402)
    at rn (vue.esm-browser.prod.js:6:17480)
    at HTMLDivElement.n (vue.esm-browser.prod.js:8:46226)

And this error when releasing left click on either hexagon grid:

vue.esm-browser.prod.js:6 TypeError: Cannot destructure property 'x' of 'r' as it is undefined.
    at Vu (Game-3HCm_-Hf.js:2:7417)
    at Yu (Game-3HCm_-Hf.js:2:6654)
    at Wa.resizeToGrid (Game-3HCm_-Hf.js:4:75526)
    at UM.onUp (Game-3HCm_-Hf.js:5:77016)
    at UM.onMouseUp (Game-3HCm_-Hf.js:5:63064)
    at Proxy.QT (Game-3HCm_-Hf.js:5:137066)
    at C.onMouseup.e.<computed>.e.<computed> (Game-3HCm_-Hf.js:83:230955)
    at on (vue.esm-browser.prod.js:6:17402)
    at rn (vue.esm-browser.prod.js:6:17480)
    at HTMLDivElement.n (vue.esm-browser.prod.js:8:46226)

from planarally.

rexy712 avatar rexy712 commented on July 22, 2024

Also of note is that I actually can draw a circle under some circumstances.

If I hold Alt while drawing, it disables grid snapping and the circle brush works fine.

It also works if I don't hold Alt and draw a circle without moving the cursor. It creates a small circle that can then be correctly resized. I believe because it doesn't attempt to do any grid snapping.

from planarally.

Kruptein avatar Kruptein commented on July 22, 2024

Ah that's why I couldnt repro it, I have alt behaviour reversed by default, so yeah it's snapping related, thanks for the info

from planarally.

Kruptein avatar Kruptein commented on July 22, 2024

Closed in #1390

from planarally.

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.