set framerate correctly in iOS
This commit is contained in:
1 parent
73a1df18dd
commit
4d98778c7c
1 file changed
+1
-1
@@ -59,7 +59,7 @@ class FilamentController {
|
||||
}
|
||||
|
||||
Future setFrameRate(int framerate) async {
|
||||
_channel.invokeMethod("setFrameInterval", 1000.0 / framerate);
|
||||
_channel.invokeMethod("setFrameInterval", 1.0 / framerate);
|
||||
}
|
||||
|
||||
void setPixelRatio(double ratio) {
|
||||
|
||||
Reference in new issue
Block a user