remove superseded cruft from MacOS plugin

This commit is contained in:
Nick Fisher
2023-09-29 18:40:29 +08:00
parent 4b19632129
commit 99484d6838
4 changed files with 21 additions and 79 deletions

View File

@@ -109,11 +109,10 @@ class FilamentControllerMethodChannel extends FilamentController {
bool _resizing = false;
Future resize(int width, int height,
{double contentScaleFactor = 1.0}) async {
Future resize(int width, int height, {double scaleFactor = 1.0}) async {
_resizing = true;
_textureId = await _channel.invokeMethod("resize",
[width * _pixelRatio, height * _pixelRatio, contentScaleFactor]);
_textureId = await _channel.invokeMethod(
"resize", [width * _pixelRatio, height * _pixelRatio, scaleFactor]);
_textureIdController.add(_textureId);
_resizing = false;
}