scrollPixels method
Implementation
Future<void> scrollPixels(double deltaPx) async {
TerminalScrollTrace.log(
'client',
'scrollPixels(${deltaPx.toStringAsFixed(1)}) before ${_gridPosSnapshot()}',
);
if (_rasterHotPath) {
_applyRasterFrame(await _raster!.scrollPixelsRaster(deltaPx));
} else {
_applyScrollUpdate(await _binding.scrollPixels(deltaPx));
}
TerminalScrollTrace.log(
'client',
'scrollPixels(${deltaPx.toStringAsFixed(1)}) after ${_gridPosSnapshot()}',
);
}