Oromis / touch-vtt

Introduces touch screen support to FoundryVTT
40 stars 26 forks source link

You can now click on the Foundry logo to toggle full-screen. #64

Closed FilippoPolo closed 4 months ago

FilippoPolo commented 1 year ago

Hey! My apologies if I'm coming off a bit abrupt with this. 😄

This PR lets the user touch the Foundry logo (in the top left corner) to toggle full screen mode for their browser. This provides more screen real estate, and it also deals with some annoying problems such as e.g. an Android system toolbar covering part of the GUI.

I've considered making this into its own module, but I think it'd be better if it was part of touch-vtt. While it technically should work on any platform, it's really only useful on touch devices. Keyboard devices usually already have an easy way to enter full screen, if supported.

I've tried to add this in an unobtrusive fashion. Feel free to modify however you see fit, or reject altogether, of course.

Aioros commented 4 months ago

Hey, I appreciate the input, it's a nice idea. I do feel it's out of scope for TouchVTT, though. It seems more in line with Mobile Improvements' functionality (and I'm pretty sure it actually is).

FilippoPolo commented 4 months ago

Fair. I'll port it to Mobile Improvements when I have some time. Cheers!