David Figatner

Results 212 comments of David Figatner

Firefox has a different mouse scroll amount than the other browsers. This was fixed in pixi-viewport for the wheel plugin, but the fix was not in the drag() plugin, which...

This is an extension of pixi-viewport. I created both of them. I haven't had time to move it over to ts, but I still work on it when needed.

Yup. pixi-scrollbox uses pixi-viewport for its innerworkings. The `scrollbox.content` gives you access to the viewport. You would need to change the decelerate options (https://davidfig.github.io/pixi-viewport/jsdoc/) to increase friction. Something like: `scrollbox.content.decelerate({...

You need to set the bottom of the viewport: `scrollbox.content.bottom = scrollbox.content.height` should do the trick.

Thanks for the report. This is a weird one. The interaction code should work since pixi-scrollbox uses the normal pixi.js transformation functions. I'll see if I can track down the...

Ok, I fixed this bug. You need to update pixi-scrollbox and pixi-viewport from npm. The bug was caused by pixi-viewport.plugins.clamp(). pixi.js's interaction module does not handle containers that move (ie,...

Sure. Can you provide details on your problem? The bug referenced above I think it fixed.

This looks right. Can you show me your event code?

My Chinese is not great, regrettably. Is the problem that the scrollbox doesn't work or that you can't interact with the Sprite inside?