| 123456789101112 |
- //go:build !ios && !android && !wayland
- // +build !ios,!android,!wayland
- package mobile
- import "fyne.io/fyne/v2"
- const tapYOffset = 0 // no finger compensation on desktop (simulation)
- func (*device) SystemScaleForWindow(_ fyne.Window) float32 {
- return 2 // this is simply due to the high number of pixels on a mobile device - just an approximation
- }
|