better adjustForKeyboard
This commit is contained in:
parent
af4f772b8a
commit
8902672b30
@ -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…
x
Reference in New Issue
Block a user