GithubHelp home page GithubHelp logo

Comments (3)

IndigoStarfish avatar IndigoStarfish commented on June 27, 2024 5

Currently working hacking around this by setting the opacity to 0, and then back to 1 when the stroke starts.

$canvas.lazylinepainter({
    // ...
    'strokeOpacity': 0,
    'onStrokeStart': function(data) {
        data.el.style.strokeOpacity = 1;
    }
});

Note this won't work for animations you play repeatedly/loop, you'll have to find some way of resetting the opacity.

Also I seem to have ran into a bug where onStrokeStart isn't called for the first path for a certain set of artwork short (duration) paths.

from lazy-line-painter.

rmobis avatar rmobis commented on June 27, 2024

The same is happening on my Chrome since the last few updates. My current version is 47.0.2526.73 m.

from lazy-line-painter.

IndigoStarfish avatar IndigoStarfish commented on June 27, 2024

Same Issue on:

  • Chrome 47.0.2526.73 m
  • IE 10.0.9200.17556
  • Firefox 37.0.2

Works fine on:

  • Chrome 46.0.2490.86 m
  • Opera 33.0.1990.115

(All Windows 8 or 10, jquery.lazylinepainter-1.7.0.min.js)

We upgraded the one on Chrome 46.0.2490.86 m to Chrome 47.0.2526.73 m; which made it show the dots.

from lazy-line-painter.

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.