mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-10-31 08:56:01 +08:00 
			
		
		
		
	fix: Remove deprecations for 1.10.0 (#2809)
Removed deprecations for 1.10.0 and fixes some small unreleased regressions found when going through the examples.
This commit is contained in:
		| @ -1,3 +1,4 @@ | ||||
| import 'package:flame/events.dart'; | ||||
| import 'package:flame/extensions.dart'; | ||||
| import 'package:flame/game.dart'; | ||||
| import 'package:flame/input.dart'; | ||||
| @ -18,7 +19,7 @@ class MultitapExample extends FlameGame with MultiTouchTapDetector { | ||||
|  | ||||
|   @override | ||||
|   void onTapDown(int pointerId, TapDownInfo info) { | ||||
|     taps[pointerId] = info.eventPosition.game.toPositionedRect(tapSize); | ||||
|     taps[pointerId] = info.eventPosition.widget.toPositionedRect(tapSize); | ||||
|   } | ||||
|  | ||||
|   @override | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Lukas Klingsbo
					Lukas Klingsbo