Fix the minedigger game.

Remove the Widgets framework's PointerEventListener definition now that
the Rendering layer has one. It was previously clashing in files that
imported both, which would result in it being hidden. Turns out
MineDigger is the only example that this affects.
This commit is contained in:
Hixie 2015-09-23 16:50:50 -07:00
parent ea45169083
commit 00d0a44f09

View File

@ -8,15 +8,9 @@ import 'dart:sky' as sky;
import 'package:sky/animation.dart'; import 'package:sky/animation.dart';
import 'package:sky/services.dart'; import 'package:sky/services.dart';
import 'package:sky/src/rendering/box.dart'; import 'package:sky/rendering.dart';
import 'package:sky/src/rendering/error.dart';
import 'package:sky/src/rendering/hit_test.dart';
import 'package:sky/src/rendering/object.dart';
import 'package:sky/src/rendering/sky_binding.dart';
import 'package:sky/src/rendering/view.dart';
export 'package:sky/src/rendering/box.dart' show BoxConstraints, BoxDecoration, Border, BorderSide, EdgeDims; export 'package:sky/rendering.dart' show BoxConstraints, BoxDecoration, Border, BorderSide, EdgeDims, Point, Offset, Size, Rect, Color, Paint, Path;
export 'package:sky/src/rendering/object.dart' show Point, Offset, Size, Rect, Color, Paint, Path;
final bool _shouldLogRenderDuration = false; // see also 'enableProfilingLoop' argument to runApp() final bool _shouldLogRenderDuration = false; // see also 'enableProfilingLoop' argument to runApp()
@ -685,8 +679,6 @@ abstract class Inherited extends TagNode {
} }
typedef void PointerEventListener(sky.PointerEvent e);
class Listener extends TagNode { class Listener extends TagNode {
Listener({ Listener({
Key key, Key key,