mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-23 00:49:04 +00:00
better adjustForKeyboard
This commit is contained in:
parent
af4f772b8a
commit
8902672b30
1 changed files with 2 additions and 2 deletions
|
|
@ -143,7 +143,7 @@ class FfiModel with ChangeNotifier {
|
|||
() async {
|
||||
try {
|
||||
/*
|
||||
final ref = frame.ref;
|
||||
final ref = frame.ref;
|
||||
final bytes = Uint8List.sublistView(ref.data.asTypedList(ref.len));
|
||||
await _audioPlayer.feedFromStream(bytes);
|
||||
*/
|
||||
|
|
@ -315,7 +315,7 @@ class CursorModel with ChangeNotifier {
|
|||
final s = FFI.canvasModel.scale;
|
||||
final thresh = 120;
|
||||
var h = (_y - getVisibleRect().top) * s; // local physical display height
|
||||
return h > thresh ? h - thresh : 0;
|
||||
return h - thresh;
|
||||
}
|
||||
|
||||
void updatePan(double dx, double dy) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue