Git Product home page Git Product logo

sliceformstudio's People

Contributors

yqlu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sliceformstudio's Issues

Dragging custom patterns throws sporadic errors

Cannot reproduce reliably, but sometimes the drag handler for custom pattern handles can't find the tile the handle belongs to and goes berserk.

var dragPatternHandleEdit = d3.behavior.drag()
.on("dragstart", function(d, i) {
    updateUIForCustomTemplate(this.parentNode.__data__, false);
})
.on("drag", function(d, i) {
    d.transform = num.translateBy(d.transform, d3.event.dx, d3.event.dy);
    d3.select(this).attr("transform", num.getTransform);
    var tile = this.parentNode.parentNode.__data__;

The last line is the offending line. Somehow the DOM gets out of sync and detaches the circle handle from the original <g>?

Saving and loading

It would be really nice to serialize designs into json files that could be saved to disk, instead of living in memory and not persisting beyond the current browser session.

Shapes are not replenished reliably

Hi YQ,

I've been having some bugs with the app on Google Chrome (Version 44.0.2403.155 (64-bit)) when running on Ubuntu 14.04. Sometimes I drag a shape from the sidebar to the main view and a replacement doesn't appear. To get the replacement to appear, I just keep clicking around until another shows up. There's no set number of clicks I have to do.

Actual logs from JS console in Chrome (but they kind of suck):
https://gist.github.com/ynasser/83e24f0b0b9f50dbf742

Screenshot of the JS console error output:
desktop 1_031

Yomna

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.