Mobile: Convert from screen to card coords

Brian Milby brian at milby7.com
Mon Oct 17 13:53:59 EDT 2022


Looking at the image, I’m not sure you can do what you want and have it work.  You can draw outside of the card rect, but you can’t interact with anything outside of the rect.   In the image on the right, the nav bar is as low as it can go and receive touch interactions.

I think resizing to the actual screen is probably going to make more sense with that nav bar at the bottom.

Brian Milby
brian at milby7.com

> On Oct 17, 2022, at 1:16 PM, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi friends,
> 
> I need some help, here a pic that shows my problem and my question:
> <https://www.dropbox.com/s/6o0yvhbjbyfs1r5/screen_card_coords.png?dl=1>
> 
> Brian Milby once provided a stack which does this, but I have to confess that I did 
> not understand a word..
> 
> Thanks for any hints!
> 
> 
> Best
> 
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> klaus at major-k.de
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list