open-craft / xblock-vectordraw

An XBlock for creating vector drawing exercises
GNU Affero General Public License v3.0
2 stars 3 forks source link

Vectors cannot be dragged #3

Open ChristopherChudzicki opened 8 years ago

ChristopherChudzicki commented 8 years ago

@antoviaque @dseaton After creating a VectorDraw X-Block problem, the vectors I create have draggable tips, but the vector itself cannot be shifted via dragging.

screen shot 2016-02-10 at 9 52 24 am

Link to course: https://studio.edge.edx.org/container/block-v1:CAC+CAC103+FOREVER+type@vertical+block@fea075357c164e1ba663e085736e29ac

ChristopherChudzicki commented 8 years ago

@bradenmacdonald @antoviaque @dseaton This bug seems to only apply when axis=true (background grid is visible), which is the default for VectorDraw X-Block.

This bug also seems to be present in at least the most recent version of JS-input vector draw (which I've been working with lately), but for JS-input, the default was axis=false so maybe we didn't notice?

See: https://studio.edge.edx.org/container/block-v1:CAC+CAC103+FOREVER+type@vertical+block@8c12b4a89da645728dcb7d04b291b3e9