Todor Imreorov

Results 512 comments of Todor Imreorov

maybe a screen width threshold could trigger this? How do we tell chickenpaint if it should start in this mode?

> > maybe a screen width threshold could trigger this? How do we tell chickenpaint if it should start in this mode? > > It might as well detect it...

I also added palette toggle buttons that will show up in place of that giant Chickenpaint text when on small screens: ![image](https://user-images.githubusercontent.com/6495061/120377937-af6fc780-c315-11eb-959b-ce1eed09040c.png) they do the same thing the palettes menu...

you can try this on the branch here https://github.com/blurymind/chickenpaint/tree/mobile-layout-buttons It only gets enabled on small screen, so either try on smartphone or set the debugger to phone resolutions

Thanks :) I was hoping that would be the case. I made a PR here https://github.com/thenickdude/chickenpaint/pull/34 I was careful to use the existing code as much as possible and not...

> Yes, but solving this turns out to be very difficult, because those gestures will have to be recognised from the Pointer Event stream and emulated in code, because it...

we could use the pointerevent to detect when a finger is being used or a stylus (optionally?) I wonder how other good mobile painting apps do it. Worth looking into...

> Hm a special kind of layer group could act as a frame pretty painlessly actually That sounds like a good way to do it and will allow to have...

I was actually toying with the idea of creating a zdog modeler and thinking of using zdog itself to draw the move/scale/rotate handles of selected objects. In order for that...

perhaps the api can simply detect when the user has clicked on a shape and trigger a callback like this: ``` let selectedObject = null //my callback here function myCallback(event)...