Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Missing alpha-indexes on local 7'' display
#10
(06-14-2023, 11:54 AM)Nutul Wrote:
(06-14-2023, 11:41 AM)TheOldPresbyope Wrote: That's not what I get on my "official" 7-in Touch.
Odd to see an "off by one" error here.

Regards,
Kent

I'm using "square" pixel mode, don't know if that makes any difference... maybe I'll try in both modes later today.

Anyway, I am more keen to understand a 800 pixels wide viewport (min x = 0, max x = 799), rather than a 799-wide one...

Maybe something changed in the browser? older versions returned maxX / maxY instead? I cannot comment, as this is the very first time I use the "show viewport" thing.

Quick test with a Pi 7" Touch and the viewport popup shows the following:

Pixel aspect ratio
- Default 799 x 479
- Square 799 x 443

AFAIK viewport is 0-based so an 800px wide screen with pixel ratio = 1 and no Browser zoom would have a viewport max width of 799px. 

I'm not sure what could be causing viewport width to show 800px on your end.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Missing alpha-indexes on local 7'' display - by Tim Curtis - 06-14-2023, 01:44 PM

Forum Jump: