James Ooi

Results 9 comments of James Ooi

I understand that this problem appears when you try to compile a TypeScript file, correct me if I'm wrong. There are differences to how modules are handled between TypeScript when...

Hi @jeroenbell, a fix for this bug has been made in the `develop` branch. It will be released on npm once it's been fully tested out. In the meantime you...

Ah, that's because Croppr calculates a global scale factor to apply to the `redraw()` method **only** once during initialization. We can recalculate it on every redraw (_very_ tiny performance hit?),...

Thanks for the example @Basiliskin!

Hi @lAndresul, when are you changing the image source? Before, or after Croppr is initialized? Is it possible to delay instantiating the Croppr instance until after you have changed the...

There's no official API to change the image source (yet) after Croppr has initialised. Will definitely put that in a future release. But right now here are some other possibilities:...

Indeed this is a pretty major bug for the `minSize` option. Will try to get a fix out the soonest.

Hey @atrauzzi, my only concern is that we might run the risk of bloating Croppr.js — which has always aimed to just be a lightweight image cropping component. Regardless, I'll...

Hi @timshannon, glad to hear that enjoy Croppr's simplicity. Circular selections will definitely be a great addition with minimal extra code, since some of it can be done simply via...