chore: make pub.dev happy
This commit is contained in:
@@ -134,6 +134,7 @@ class DelegateInputHandler implements InputHandler {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ignore: unnecessary_null_comparison
|
||||||
if (keyType != null) {
|
if (keyType != null) {
|
||||||
keyAction = _actions[keyType];
|
keyAction = _actions[keyType];
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import '../../../viewer/src/shared_types/camera.dart';
|
|||||||
import '../../../viewer/viewer.dart';
|
import '../../../viewer/viewer.dart';
|
||||||
import '../../input.dart';
|
import '../../input.dart';
|
||||||
import '../input_handler.dart';
|
import '../input_handler.dart';
|
||||||
import 'dart:math';
|
|
||||||
|
|
||||||
class FixedOrbitRotateInputHandlerDelegate implements InputHandlerDelegate {
|
class FixedOrbitRotateInputHandlerDelegate implements InputHandlerDelegate {
|
||||||
final ThermionViewer viewer;
|
final ThermionViewer viewer;
|
||||||
@@ -46,7 +45,7 @@ class FixedOrbitRotateInputHandlerDelegate implements InputHandlerDelegate {
|
|||||||
_queuedRotationDelta += Vector2(delta.x, delta.y);
|
_queuedRotationDelta += Vector2(delta.x, delta.y);
|
||||||
break;
|
break;
|
||||||
case InputAction.TRANSLATE:
|
case InputAction.TRANSLATE:
|
||||||
_queuedZoomDelta += delta!.z;
|
_queuedZoomDelta += delta.z;
|
||||||
break;
|
break;
|
||||||
case InputAction.PICK:
|
case InputAction.PICK:
|
||||||
// Assuming PICK is used for zoom in this context
|
// Assuming PICK is used for zoom in this context
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import 'package:vector_math/vector_math_64.dart';
|
import 'package:vector_math/vector_math_64.dart';
|
||||||
|
|
||||||
import '../../shared_types/camera.dart';
|
|
||||||
import '../../thermion_viewer_base.dart';
|
import '../../thermion_viewer_base.dart';
|
||||||
|
|
||||||
class ThermionWasmCamera extends Camera {
|
class ThermionWasmCamera extends Camera {
|
||||||
|
|||||||
Reference in New Issue
Block a user