Comments (2)
Thanks for spotting this. It was an issue. There's an async setup process that allows you to define methods like setup
outside of the constructor, but the check was based on whether setup had been called so when it's not defined it just keeps running that check and firing resize (which is an important part of the setup). I've added an explicit check now so we should be good.
from sketch.js.
Really? So I found a "bug"... Cool.
It was really late last night and I thought I was just going crazy...
Thank you.
from sketch.js.
Related Issues (20)
- sketch.min.js isn't up to date HOT 1
- Angular HOT 4
- Provide typing information for TypeScript
- please provide a straight forward example for drawing paths HOT 1
- Missing event on text hover HOT 1
- Setting/updating canvas width to 100% HOT 1
- Problem with "Undefined" HOT 3
- When augmenting a DOM element, height is undefined HOT 1
- when retina true, after resize window, canvasRendingContext will be scale large HOT 1
- Unable to use Pre-signed URL with audio path HOT 3
- Trying to use sketch.js Particles example with Webcam motion tracking Gest.js library HOT 1
- Particle effect not getting affected in header division HOT 1
- Broken - Multiple Errors
- laggy on Android Chrome browser with paint sample
- Full screen issues and click through HOT 1
- iOS/Android issues (draw restarted)
- Issue with Running Multiple Instances
- How can I use it inside a React project? HOT 2
- The Demo/Showcase page returns 404 HOT 1
- Canvas clears on phone
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sketch.js.