Resize map with drag gesture (#12858)

* Resize map with drag gesture

* Add resize handle and maximize toggle button

* If map is really small, make the whole area clickable to toggle maximize

* Addressed feedback and improved maximized size of minimap.

* Removed ResizeDragListener.touchDown

---------

Co-authored-by: M. Rittweger <m.rittweger@mvolution.de>
This commit is contained in:
sulai
2025-01-29 12:24:56 +01:00
committed by GitHub
parent 5d78cbd7c1
commit f865cf68a9
12 changed files with 332 additions and 217 deletions

View File

@ -794,6 +794,12 @@ HexaRealm tileset images by legacymtgsalvationuser69544 [here](https://github.co
- [Package](https://thenounproject.com/icon/package-1886048) by shashank singh for Mods
- [scenario planning](https://thenounproject.com/icon/scenario-6569968) by nicolas for Scenarios
### WorldScreen
- [Reduce](https://www.flaticon.com/free-icon/reduce_1817377) by Freepik
- [Increase](https://www.flaticon.com/free-icon/increase_1817463) by Freepik
- [Corner](https://www.flaticon.com/free-icon/corner_11390067) by Muhamad Ulum
## Sound credits
Sounds are from FreeSound.org unless otherwise noted and are either Creative Commons or Public Domain unless otherwise noted