fix: horizontal ssh virt keys ui (#758)

Fixes #737
This commit is contained in:
lollipopkit🏳️‍⚧️
2025-05-14 18:21:18 +08:00
committed by GitHub
parent 12082e1235
commit 94cded39a6
2 changed files with 2 additions and 15 deletions

View File

@@ -133,9 +133,9 @@ class SSHPageState extends State<SSHPage> with AutomaticKeepAliveClientMixin, Af
if (isMobile) {
_virtKeyWidth = _media.size.width / 7;
if (_horizonVirtKeys) {
_virtKeysHeight = _media.size.height * 0.043;
_virtKeysHeight = 37;
} else {
_virtKeysHeight = _media.size.height * 0.043 * _virtKeysList.length;
_virtKeysHeight = 37.0 * _virtKeysList.length;
}
}
}